| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_VIEWS_CONTROLS_PROGRESS_BAR_H_ | 5 #ifndef UI_VIEWS_CONTROLS_PROGRESS_BAR_H_ |
| 6 #define UI_VIEWS_CONTROLS_PROGRESS_BAR_H_ | 6 #define UI_VIEWS_CONTROLS_PROGRESS_BAR_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 10 #include "ui/views/view.h" | 10 #include "ui/views/view.h" |
| 11 | 11 |
| 12 namespace views { | 12 namespace views { |
| 13 | 13 |
| 14 // Progress bar is a control that indicates progress visually. | 14 // Progress bar is a control that indicates progress visually. |
| 15 class VIEWS_EXPORT ProgressBar : public View { | 15 class VIEWS_EXPORT ProgressBar : public View { |
| 16 public: | 16 public: |
| 17 // The value range defaults to [0.0, 1.0]. | 17 // The value range defaults to [0.0, 1.0]. |
| 18 ProgressBar(); | 18 ProgressBar(); |
| 19 ~ProgressBar() override; | 19 ~ProgressBar() override; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 59 |
| 60 // Tooltip text. | 60 // Tooltip text. |
| 61 base::string16 tooltip_text_; | 61 base::string16 tooltip_text_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(ProgressBar); | 63 DISALLOW_COPY_AND_ASSIGN(ProgressBar); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 } // namespace views | 66 } // namespace views |
| 67 | 67 |
| 68 #endif // UI_VIEWS_CONTROLS_PROGRESS_BAR_H_ | 68 #endif // UI_VIEWS_CONTROLS_PROGRESS_BAR_H_ |
| OLD | NEW |