| 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_THROBBER_H_ | 5 #ifndef UI_VIEWS_CONTROLS_THROBBER_H_ |
| 6 #define UI_VIEWS_CONTROLS_THROBBER_H_ | 6 #define UI_VIEWS_CONTROLS_THROBBER_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 "base/time.h" | 11 #include "base/time.h" |
| 12 #include "base/timer.h" | 12 #include "base/timer.h" |
| 13 #include "views/view.h" | 13 #include "ui/views/view.h" |
| 14 | 14 |
| 15 class SkBitmap; | 15 class SkBitmap; |
| 16 | 16 |
| 17 namespace views { | 17 namespace views { |
| 18 | 18 |
| 19 // Throbbers display an animation, usually used as a status indicator. | 19 // Throbbers display an animation, usually used as a status indicator. |
| 20 | 20 |
| 21 class VIEWS_EXPORT Throbber : public View { | 21 class VIEWS_EXPORT Throbber : public View { |
| 22 public: | 22 public: |
| 23 // |frame_time_ms| is the amount of time that should elapse between frames | 23 // |frame_time_ms| is the amount of time that should elapse between frames |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 119 |
| 120 // The checkmark image. | 120 // The checkmark image. |
| 121 static SkBitmap* checkmark_; | 121 static SkBitmap* checkmark_; |
| 122 | 122 |
| 123 DISALLOW_COPY_AND_ASSIGN(CheckmarkThrobber); | 123 DISALLOW_COPY_AND_ASSIGN(CheckmarkThrobber); |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 } // namespace views | 126 } // namespace views |
| 127 | 127 |
| 128 #endif // UI_VIEWS_CONTROLS_THROBBER_H_ | 128 #endif // UI_VIEWS_CONTROLS_THROBBER_H_ |
| OLD | NEW |