| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 VIEWS_CONTROLS_PROGRESS_BAR_H_ | 5 #ifndef VIEWS_CONTROLS_PROGRESS_BAR_H_ |
| 6 #define VIEWS_CONTROLS_PROGRESS_BAR_H_ | 6 #define VIEWS_CONTROLS_PROGRESS_BAR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "views/view.h" | 10 #include "views/view.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 private: | 66 private: |
| 67 // Progress in range [0, kMaxProgress]. | 67 // Progress in range [0, kMaxProgress]. |
| 68 int progress_; | 68 int progress_; |
| 69 | 69 |
| 70 // Tooltip text. | 70 // Tooltip text. |
| 71 std::wstring tooltip_text_; | 71 std::wstring tooltip_text_; |
| 72 | 72 |
| 73 // The view class name. | 73 // The view class name. |
| 74 static const char kViewClassName[]; | 74 static const char kViewClassName[]; |
| 75 | 75 |
| 76 // The storage string for the accessibility name associated with this control. | |
| 77 std::wstring accessible_name_; | |
| 78 | |
| 79 DISALLOW_COPY_AND_ASSIGN(ProgressBar); | 76 DISALLOW_COPY_AND_ASSIGN(ProgressBar); |
| 80 }; | 77 }; |
| 81 | 78 |
| 82 } // namespace views | 79 } // namespace views |
| 83 | 80 |
| 84 #endif // VIEWS_CONTROLS_PROGRESS_BAR_H_ | 81 #endif // VIEWS_CONTROLS_PROGRESS_BAR_H_ |
| OLD | NEW |