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 CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
11 #include "base/time.h" | 11 #include "base/time.h" |
12 #include "base/timer.h" | 12 #include "base/timer.h" |
13 #include "ui/views/bubble/bubble_delegate.h" | 13 #include "ui/views/bubble/bubble_delegate.h" |
14 #include "views/widget/widget.h" | 14 #include "ui/views/widget/widget.h" |
15 | 15 |
16 class SkBitmap; | 16 class SkBitmap; |
17 | 17 |
18 namespace chromeos { | 18 namespace chromeos { |
19 | 19 |
20 class SettingLevelBubbleView; | 20 class SettingLevelBubbleView; |
21 | 21 |
22 // Controls a bubble displaying a level-based setting like | 22 // Controls a bubble displaying a level-based setting like |
23 // volume or brightness. | 23 // volume or brightness. |
24 class SettingLevelBubble : public views::Widget::Observer { | 24 class SettingLevelBubble : public views::Widget::Observer { |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 117 |
118 // Is |animation_timer_| currently running? | 118 // Is |animation_timer_| currently running? |
119 bool is_animating_; | 119 bool is_animating_; |
120 | 120 |
121 DISALLOW_COPY_AND_ASSIGN(SettingLevelBubble); | 121 DISALLOW_COPY_AND_ASSIGN(SettingLevelBubble); |
122 }; | 122 }; |
123 | 123 |
124 } // namespace chromeos | 124 } // namespace chromeos |
125 | 125 |
126 #endif // CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_H_ | 126 #endif // CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_H_ |
OLD | NEW |