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

Unified Diff: chrome/browser/ui/views/bubble/bubble.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/ui/views/bubble/bubble.h
diff --git a/chrome/browser/ui/views/bubble/bubble.h b/chrome/browser/ui/views/bubble/bubble.h
index 9c2735c1e4175041ceef74cc317b61bb7abf7db3..8c952a049cca0ef626f67e24ad9b0eff6065627d 100644
--- a/chrome/browser/ui/views/bubble/bubble.h
+++ b/chrome/browser/ui/views/bubble/bubble.h
@@ -155,6 +155,9 @@ class Bubble
// Subclasses can return their own BorderContents implementation.
virtual BorderContents* CreateBorderContents();
+ virtual void RegisterEscapeAccelerator();
glotov 2011/07/05 14:16:37 As discussed, please add a comment here that these
SeRya 2011/07/05 15:35:20 Added comment to SettingLevelBubble::ShowBubble. I
+ virtual void UnregisterEscapeAccelerator();
+
#if defined(OS_WIN)
// Overridden from NativeWidgetWin:
virtual void OnActivate(UINT action, BOOL minimized, HWND window);
@@ -220,6 +223,8 @@ class Bubble
views::View* contents_;
+ bool accelerator_registered_;
+
DISALLOW_COPY_AND_ASSIGN(Bubble);
};

Powered by Google App Engine
This is Rietveld 408576698