OLD | NEW |
1 // Copyright (c) 2010 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/timer.h" | 10 #include "base/timer.h" |
11 #include "chrome/browser/views/info_bubble.h" | 11 #include "chrome/browser/ui/views/info_bubble.h" |
12 #include "ui/base/animation/animation_delegate.h" | 12 #include "ui/base/animation/animation_delegate.h" |
13 #include "ui/base/animation/slide_animation.h" | 13 #include "ui/base/animation/slide_animation.h" |
14 | 14 |
15 class SkBitmap; | 15 class SkBitmap; |
16 | 16 |
17 namespace chromeos { | 17 namespace chromeos { |
18 | 18 |
19 class SettingLevelBubbleView; | 19 class SettingLevelBubbleView; |
20 | 20 |
21 // Singleton class controlling a bubble displaying a level-based setting like | 21 // Singleton class controlling a bubble displaying a level-based setting like |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 ui::SlideAnimation animation_; | 64 ui::SlideAnimation animation_; |
65 base::OneShotTimer<SettingLevelBubble> timeout_timer_; | 65 base::OneShotTimer<SettingLevelBubble> timeout_timer_; |
66 | 66 |
67 DISALLOW_COPY_AND_ASSIGN(SettingLevelBubble); | 67 DISALLOW_COPY_AND_ASSIGN(SettingLevelBubble); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace chromeos | 70 } // namespace chromeos |
71 | 71 |
72 #endif // CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_H_ | 72 #endif // CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_H_ |
OLD | NEW |