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

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

Issue 7294024: Sound volume and bightness bubbles doesn't grab focus anymore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added comments. Created 9 years, 5 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/system_key_event_listener.h
diff --git a/chrome/browser/chromeos/system_key_event_listener.h b/chrome/browser/chromeos/system_key_event_listener.h
index 51e668de50f64066238f2eef5c4bfd1cc44e7ba9..3ef19aa19a42174aa393c0adc8e4ee0268f7cd61 100644
--- a/chrome/browser/chromeos/system_key_event_listener.h
+++ b/chrome/browser/chromeos/system_key_event_listener.h
@@ -77,9 +77,17 @@ class SystemKeyEventListener : public WmMessageListener::Observer,
int32 key_f8_;
int32 key_f9_;
int32 key_f10_;
+ int32 key_esc_;
bool stopped_;
+ // Tells if one of system setting bubble (such as a sound volume bubble)
glotov 2011/07/05 14:16:37 nit: we have only 2 bubbles (system setting, I mea
SeRya 2011/07/05 15:35:20 Done.
+ // is shown.
+ static bool IsBubbleShown();
+
+ // Hides all shown system setting bubbles.
+ static void HideBubble();
+
// AudioHandler is a Singleton class we are just caching a pointer to here,
// and we do not own the pointer.
AudioHandler* const audio_handler_;

Powered by Google App Engine
This is Rietveld 408576698