Add option to set colors to views::ProgressBar

Desktop / Chromium - Thoren Paulson [chromium.org] - 9 October 2017 15:54 EDT

Would like to use this on Chromecast, and it's a useful feature anyway.

Bug: internal b/36519673 Test: CQ and my use case on Chromecast

Change-Id: I2cc5eb2a22e5aaa2df88a6963ea78f93c3223c77 Reviewed-on: https://chromium-review.googlesource.com/690778

da9d205 Add option to set colors to views::ProgressBar.
ui/views/controls/progress_bar.cc | 8 ++++++--
ui/views/controls/progress_bar.h | 8 +++++++-
ui/views/controls/progress_bar_unittest.cc | 15 +++++++++++++++
3 files changed, 28 insertions(+), 3 deletions(-)

Upstream: git.chromium.org


  • Share