Index: chrome/browser/chromeos/volume_bubble.h |
diff --git a/chrome/browser/chromeos/volume_bubble.h b/chrome/browser/chromeos/volume_bubble.h |
index 17f72fc1a19190531045f546058336a2b61af3e0..417a83b5c0bb57c43386fa68a3ae92d59d3e696c 100644 |
--- a/chrome/browser/chromeos/volume_bubble.h |
+++ b/chrome/browser/chromeos/volume_bubble.h |
@@ -14,15 +14,25 @@ template <typename T> struct DefaultSingletonTraits; |
namespace chromeos { |
// Singleton class controlling volume bubble. |
-class VolumeBubble : public SettingLevelBubble { |
+class VolumeBubble { |
public: |
+ // Returns a the singleton volume bubble instance. |
msw
2011/10/21 02:42:06
remove 'a'
alicet1
2011/10/21 18:11:36
Done.
|
static VolumeBubble* GetInstance(); |
+ // Updates the target |percent| and icon to be used, sets |
+ // the bubble to |enabled| and shows the bubble. |
+ void ShowBubble(double percent, bool enabled); |
+ |
+ // Hides the bubble. |
+ void HideBubble(); |
+ |
private: |
friend struct DefaultSingletonTraits<VolumeBubble>; |
+ // Bubble widget, owned by VolumeBubble. |
+ views::Widget* widget_; |
msw
2011/10/21 02:42:06
data members belong below functions.
alicet1
2011/10/21 18:11:36
Done.
|
VolumeBubble(); |
- virtual ~VolumeBubble() {} |
+ virtual ~VolumeBubble(); |
DISALLOW_COPY_AND_ASSIGN(VolumeBubble); |
}; |