Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_VOLUME_BUBBLE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_VOLUME_BUBBLE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_VOLUME_BUBBLE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_VOLUME_BUBBLE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | |
|
Charlie Lee
2010/12/09 21:35:04
Is this needed?
| |
| 9 #include "chrome/browser/chromeos/setting_level_bubble.h" | 10 #include "chrome/browser/chromeos/setting_level_bubble.h" |
| 10 | 11 |
| 11 template <typename T> struct DefaultSingletonTraits; | 12 template <typename T> struct DefaultSingletonTraits; |
| 12 | 13 |
| 13 namespace chromeos { | 14 namespace chromeos { |
| 14 | 15 |
| 15 // Singleton class controlling volume bubble. | 16 // Singleton class controlling volume bubble. |
| 16 class VolumeBubble : public SettingLevelBubble { | 17 class VolumeBubble : public SettingLevelBubble { |
| 17 public: | 18 public: |
| 18 static VolumeBubble* instance(); | 19 static VolumeBubble* instance(); |
| 19 | 20 |
| 20 private: | 21 private: |
| 21 friend struct DefaultSingletonTraits<VolumeBubble>; | 22 friend struct DefaultSingletonTraits<VolumeBubble>; |
| 22 | 23 |
| 23 VolumeBubble(); | 24 VolumeBubble(); |
| 24 virtual ~VolumeBubble() {} | 25 virtual ~VolumeBubble() {} |
| 25 | 26 |
| 26 DISALLOW_COPY_AND_ASSIGN(VolumeBubble); | 27 DISALLOW_COPY_AND_ASSIGN(VolumeBubble); |
| 27 }; | 28 }; |
| 28 | 29 |
| 29 } // namespace chromeos | 30 } // namespace chromeos |
| 30 | 31 |
| 31 #endif // CHROME_BROWSER_CHROMEOS_VOLUME_BUBBLE_H_ | 32 #endif // CHROME_BROWSER_CHROMEOS_VOLUME_BUBBLE_H_ |
| OLD | NEW |