Index: chrome/browser/chromeos/brightness_bubble.h |
diff --git a/chrome/browser/chromeos/brightness_bubble.h b/chrome/browser/chromeos/brightness_bubble.h |
index 7b5ed8c5cf9a47d2b7d197fba0829fb24dda93e3..4c3627e55dd2ff618f8219e4a9e1d03cdb181c0c 100644 |
--- a/chrome/browser/chromeos/brightness_bubble.h |
+++ b/chrome/browser/chromeos/brightness_bubble.h |
@@ -11,16 +11,25 @@ |
template <typename T> struct DefaultSingletonTraits; |
+namespace views{ |
+class Widget; |
+} |
+ |
namespace chromeos { |
// Singleton class controlling brightness bubble. |
-class BrightnessBubble : public SettingLevelBubble { |
+class BrightnessBubble { |
public: |
static BrightnessBubble* GetInstance(); |
+ static void ShowBubble(double percent, bool enabled); |
+ void UpdateWithoutShowingBubble(int level, bool enabled); |
+ void HideBubble(); |
private: |
friend struct DefaultSingletonTraits<BrightnessBubble>; |
+ // Bubble widget, owned by VolumeBubble. |
Daniel Erat
2011/10/19 17:28:09
is this comment incorrect?
alicet1
2011/10/20 15:03:08
updated.
|
+ static views::Widget* widget_; |
Daniel Erat
2011/10/19 17:28:09
nit: add a blank line after this
Daniel Erat
2011/10/19 17:28:09
could this be non-static?
alicet1
2011/10/20 15:03:08
Done.
alicet1
2011/10/20 15:03:08
Done.
|
BrightnessBubble(); |
virtual ~BrightnessBubble() {} |