Avi Drissman | 3e1a26c | 2022-09-15 20:26:03 | [diff] [blame] | 1 | // Copyright 2012 The Chromium Authors |
license.bot | bf09a50 | 2008-08-24 00:55:55 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 4 | |
[email protected] | 8fc1b372 | 2011-11-29 20:25:29 | [diff] [blame] | 5 | #ifndef UI_VIEWS_CONTROLS_THROBBER_H_ |
6 | #define UI_VIEWS_CONTROLS_THROBBER_H_ | ||||
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 7 | |
[email protected] | e1f5f28 | 2013-06-28 15:22:52 | [diff] [blame] | 8 | #include "base/time/time.h" |
9 | #include "base/timer/timer.h" | ||||
Zachary Tan | 835a908 | 2024-10-22 05:16:37 | [diff] [blame] | 10 | #include "ui/color/color_provider.h" |
[email protected] | 5025f86 | 2011-11-30 23:35:20 | [diff] [blame] | 11 | #include "ui/views/view.h" |
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 12 | |
[email protected] | c2dacc9 | 2008-10-16 23:51:38 | [diff] [blame] | 13 | namespace views { |
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 14 | |
[email protected] | 8fc1b372 | 2011-11-29 20:25:29 | [diff] [blame] | 15 | // Throbbers display an animation, usually used as a status indicator. |
16 | |||||
[email protected] | 5036f18 | 2011-08-05 20:58:29 | [diff] [blame] | 17 | class VIEWS_EXPORT Throbber : public View { |
Allen Bauer | f0b789e | 2023-12-08 17:34:39 | [diff] [blame] | 18 | METADATA_HEADER(Throbber, View) |
19 | |||||
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 20 | public: |
ahmedmoussa | 09fd669 | 2024-07-24 14:16:39 | [diff] [blame] | 21 | explicit Throbber(int diameter = kDefaultDiameter); |
Peter Boström |