| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #import "base/mac/cocoa_protocols.h" | 7 #import "base/mac/cocoa_protocols.h" |
| 8 #include "base/memory/scoped_nsobject.h" | 8 #include "base/memory/scoped_nsobject.h" |
| 9 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" | 9 #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h" |
| 10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
| 11 | 11 |
| 12 @class BrowserWindowController; | 12 @class BrowserWindowController; |
| 13 class Browser; | 13 class Browser; |
| 14 @class GTMUILocalizerAndLayoutTweaker; | 14 @class GTMUILocalizerAndLayoutTweaker; |
| 15 | 15 |
| 16 // The FullscreenExitBubbleController manages the bubble that tells the user | 16 // The FullscreenExitBubbleController manages the bubble that tells the user |
| 17 // how to escape fullscreen mode. The bubble only appears when a tab requests | 17 // how to escape fullscreen mode. The bubble only appears when a tab requests |
| 18 // fullscreen mode via webkitRequestFullScreen(). | 18 // fullscreen mode via webkitRequestFullScreen(). |
| 19 @interface FullscreenExitBubbleController : | 19 @interface FullscreenExitBubbleController : |
| (...skipping 30 matching lines...) Expand all Loading... |
| 50 - (void)allow:(id)sender; | 50 - (void)allow:(id)sender; |
| 51 - (void)deny:(id)sender; | 51 - (void)deny:(id)sender; |
| 52 | 52 |
| 53 - (void)showWindow; | 53 - (void)showWindow; |
| 54 - (void)closeImmediately; | 54 - (void)closeImmediately; |
| 55 | 55 |
| 56 // Positions the fullscreen exit bubble in the top-center of the window. | 56 // Positions the fullscreen exit bubble in the top-center of the window. |
| 57 - (void)positionInWindowAtTop:(CGFloat)maxY width:(CGFloat)maxWidth; | 57 - (void)positionInWindowAtTop:(CGFloat)maxY width:(CGFloat)maxWidth; |
| 58 | 58 |
| 59 @end | 59 @end |
| OLD | NEW |