| Index: chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.h
|
| diff --git a/chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.h b/chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.h
|
| index ef5a231406683c8778e2d4e542b99ddb6999c737..e61af22fa664a065f01d843ceb94941ce6dc2553 100644
|
| --- a/chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.h
|
| +++ b/chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.h
|
| @@ -25,9 +25,10 @@ class BrowserWindow;
|
| class ExclusiveAccessBubbleViews;
|
| @class ExclusiveAccessBubbleWindowController;
|
| class GURL;
|
| +class NewBackShortcutBubble;
|
|
|
| // Component placed into a browser window controller to manage communication
|
| -// with the exclusive access bubble, which appears for events such as entering
|
| +// with subtle notification bubbles, which appear for events such as entering
|
| // fullscreen.
|
| class ExclusiveAccessController : public ExclusiveAccessContext,
|
| public ui::AcceleratorProvider,
|
| @@ -46,6 +47,9 @@ class ExclusiveAccessController : public ExclusiveAccessContext,
|
| // Shows the bubble once the NSWindow has received -windowDidEnterFullScreen:.
|
| void Show();
|
|
|
| + // Shows the new Back shortcut bubble.
|
| + void ShowNewBackShortcutBubble(bool forward);
|
| +
|
| // Closes any open bubble.
|
| void Destroy();
|
|
|
| @@ -100,6 +104,10 @@ class ExclusiveAccessController : public ExclusiveAccessContext,
|
| std::unique_ptr<ExclusiveAccessBubbleViews> views_bubble_;
|
| base::scoped_nsobject<ExclusiveAccessBubbleWindowController> cocoa_bubble_;
|
|
|
| + // This class also manages the new Back shortcut bubble (which functions the
|
| + // same way as ExclusiveAccessBubbleViews).
|
| + std::unique_ptr<NewBackShortcutBubble> new_back_shortcut_bubble_;
|
| +
|
| // Used to keep track of the kShowFullscreenToolbar preference.
|
| PrefChangeRegistrar pref_registrar_;
|
|
|
|
|