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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "views/view.h" | 11 #include "ui/views/view.h" |
12 | 12 |
13 namespace views { | 13 namespace views { |
14 | 14 |
15 // Progress bar is a control that indicates progress visually. | 15 // Progress bar is a control that indicates progress visually. |
16 class VIEWS_EXPORT ProgressBar : public View { | 16 class VIEWS_EXPORT ProgressBar : public View { |
17 public: | 17 public: |
18 // The value range defaults to [0.0, 1.0]. | 18 // The value range defaults to [0.0, 1.0]. |
19 ProgressBar(); | 19 ProgressBar(); |
20 virtual ~ProgressBar(); | 20 virtual ~ProgressBar(); |
21 | 21 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 // Tooltip text. | 57 // Tooltip text. |
58 string16 tooltip_text_; | 58 string16 tooltip_text_; |
59 | 59 |
60 DISALLOW_COPY_AND_ASSIGN(ProgressBar); | 60 DISALLOW_COPY_AND_ASSIGN(ProgressBar); |
61 }; | 61 }; |
62 | 62 |
63 } // namespace views | 63 } // namespace views |
64 | 64 |
65 #endif // UI_VIEWS_CONTROLS_PROGRESS_BAR_H_ | 65 #endif // UI_VIEWS_CONTROLS_PROGRESS_BAR_H_ |
OLD | NEW |