OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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_GFX_PAINT_THROBBER_H_ | 5 #ifndef UI_GFX_PAINT_THROBBER_H_ |
6 #define UI_GFX_PAINT_THROBBER_H_ | 6 #define UI_GFX_PAINT_THROBBER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
9 #include "base/time/time.h" | 10 #include "base/time/time.h" |
10 #include "third_party/skia/include/core/SkColor.h" | 11 #include "third_party/skia/include/core/SkColor.h" |
11 #include "ui/gfx/gfx_export.h" | 12 #include "ui/gfx/gfx_export.h" |
12 | 13 |
13 namespace gfx { | 14 namespace gfx { |
14 | 15 |
15 class Canvas; | 16 class Canvas; |
16 class Rect; | 17 class Rect; |
17 | 18 |
18 // This struct describes the "waiting" mode of a throb animation. It's useful | 19 // This struct describes the "waiting" mode of a throb animation. It's useful |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 Canvas* canvas, | 54 Canvas* canvas, |
54 const Rect& bounds, | 55 const Rect& bounds, |
55 SkColor color, | 56 SkColor color, |
56 uint32_t frame, | 57 uint32_t frame, |
57 SkColor waiting_color, | 58 SkColor waiting_color, |
58 uint32_t final_waiting_frame); | 59 uint32_t final_waiting_frame); |
59 | 60 |
60 } // namespace gfx | 61 } // namespace gfx |
61 | 62 |
62 #endif // UI_GFX_PAINT_THROBBER_H_ | 63 #endif // UI_GFX_PAINT_THROBBER_H_ |
OLD | NEW |