Chromium Code Reviews| Index: chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.h |
| diff --git a/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.h b/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.h |
| similarity index 74% |
| rename from chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.h |
| rename to chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.h |
| index f2ce3546a866670625e3f8523e17b80a0b11d365..a3d3083cc8a84beedc93c254ecb8065d1c55a8b8 100644 |
| --- a/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.h |
| +++ b/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.h |
| @@ -5,23 +5,23 @@ |
| #import <Cocoa/Cocoa.h> |
| #include "base/mac/scoped_nsobject.h" |
| -#include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h" |
| +#include "chrome/browser/ui/fullscreen/exclusive_access_bubble_type.h" |
| #include "url/gurl.h" |
| @class BrowserWindowController; |
| class Browser; |
| @class GTMUILocalizerAndLayoutTweaker; |
| -// The FullscreenExitBubbleController manages the bubble that tells the user |
| -// how to escape fullscreen mode. The bubble only appears when a tab requests |
| -// fullscreen mode via webkitRequestFullScreen(). |
| -@interface FullscreenExitBubbleController : |
| +// The ExclusiveAccessBubbleWindowController manages the bubble that tells the |
| +// user how to escape fullscreen mode. The bubble only appears when a tab |
|
miu
2014/12/11 23:10:50
This comment needs updating. We should list the t
Sriram
2014/12/12 21:56:39
Done.
|
| +// requests fullscreen mode via webkitRequestFullScreen(). |
| +@interface ExclusiveAccessBubbleWindowController : |
| NSWindowController<NSTextViewDelegate, NSAnimationDelegate> { |
| @private |
| BrowserWindowController* owner_; // weak |
| Browser* browser_; // weak |
| GURL url_; |
| - FullscreenExitBubbleType bubbleType_; |
| + ExclusiveAccessBubbleType bubbleType_; |
| @protected |
| IBOutlet NSTextField* exitLabelPlaceholder_; |
| @@ -44,7 +44,7 @@ class Browser; |
| - (id)initWithOwner:(BrowserWindowController*)owner |
| browser:(Browser*)browser |
| url:(const GURL&)url |
| - bubbleType:(FullscreenExitBubbleType)bubbleType; |
| + bubbleType:(ExclusiveAccessBubbleType)bubbleType; |
| - (void)allow:(id)sender; |
| - (void)deny:(id)sender; |
| @@ -52,7 +52,7 @@ class Browser; |
| - (void)showWindow; |
| - (void)closeImmediately; |
| -// Positions the fullscreen exit bubble in the top-center of the window. |
| +// Positions the exclusive access bubble in the top-center of the window. |
| - (void)positionInWindowAtTop:(CGFloat)maxY width:(CGFloat)maxWidth; |
| @end |