| Index: ui/views/controls/progress_bar.h
|
| diff --git a/ui/views/controls/progress_bar.h b/ui/views/controls/progress_bar.h
|
| index a77d59917ee687b21be6b955f3a283785143de0c..0bb9bf7bf33ae2ef40cf40eba3d2b37a9da13d06 100644
|
| --- a/ui/views/controls/progress_bar.h
|
| +++ b/ui/views/controls/progress_bar.h
|
| @@ -21,7 +21,8 @@ class VIEWS_EXPORT ProgressBar : public View, public gfx::AnimationDelegate {
|
| public:
|
| // The preferred height parameter makes it easier to use a ProgressBar with
|
| // layout managers that size to preferred size.
|
| - explicit ProgressBar(int preferred_height = 5);
|
| + explicit ProgressBar(int preferred_height = 5,
|
| + bool allow_round_corner = true);
|
| ~ProgressBar() override;
|
|
|
| // Overridden from View:
|
| @@ -60,6 +61,8 @@ class VIEWS_EXPORT ProgressBar : public View, public gfx::AnimationDelegate {
|
| // In DP, the preferred height of this progress bar.
|
| const int preferred_height_;
|
|
|
| + const bool allow_round_corner_;
|
| +
|
| std::unique_ptr<gfx::LinearAnimation> indeterminate_bar_animation_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ProgressBar);
|
|
|