Chromium Code Reviews| 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); |
| }; |