Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4730)

Unified Diff: chrome/browser/chromeos/volume_bubble.h

Issue 8319008: aura: brightness and volume bubble. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: minor cleanup. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..f01225579e671b373170ddffdf8e436b4972cfb5 100644
--- a/chrome/browser/chromeos/volume_bubble.h
+++ b/chrome/browser/chromeos/volume_bubble.h
@@ -11,16 +11,24 @@
template <typename T> struct DefaultSingletonTraits;
+namespace views {
+class Widget;
+}
+
namespace chromeos {
// Singleton class controlling volume bubble.
-class VolumeBubble : public SettingLevelBubble {
+class VolumeBubble {
public:
static VolumeBubble* GetInstance();
+ static void ShowBubble(double percent, bool enabled);
+ void HideBubble();
private:
friend struct DefaultSingletonTraits<VolumeBubble>;
+ // Bubble widget, owned by VolumeBubble.
+ static views::Widget* widget_;
VolumeBubble();
virtual ~VolumeBubble() {}

Powered by Google App Engine
This is Rietveld 408576698