| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_THROBBER_H_ | 5 #ifndef UI_VIEWS_CONTROLS_THROBBER_H_ |
| 6 #define UI_VIEWS_CONTROLS_THROBBER_H_ | 6 #define UI_VIEWS_CONTROLS_THROBBER_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 "base/time/time.h" | 10 #include "base/time/time.h" |
| 11 #include "base/timer/timer.h" | 11 #include "base/timer/timer.h" |
| 12 #include "ui/views/view.h" | 12 #include "ui/views/view.h" |
| 13 | 13 |
| 14 namespace views { | 14 namespace views { |
| 15 | 15 |
| 16 // Throbbers display an animation, usually used as a status indicator. | 16 // Throbbers display an animation, usually used as a status indicator. |
| 17 | 17 |
| 18 class VIEWS_EXPORT Throbber : public View { | 18 class VIEWS_EXPORT Throbber : public View { |
| 19 public: | 19 public: |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 base::OneShotTimer start_timer_; | 78 base::OneShotTimer start_timer_; |
| 79 base::OneShotTimer stop_timer_; | 79 base::OneShotTimer stop_timer_; |
| 80 | 80 |
| 81 DISALLOW_COPY_AND_ASSIGN(SmoothedThrobber); | 81 DISALLOW_COPY_AND_ASSIGN(SmoothedThrobber); |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 } // namespace views | 84 } // namespace views |
| 85 | 85 |
| 86 #endif // UI_VIEWS_CONTROLS_THROBBER_H_ | 86 #endif // UI_VIEWS_CONTROLS_THROBBER_H_ |
| OLD | NEW |