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" | |
8 #include "base/memory/scoped_nsobject.h" | 7 #include "base/memory/scoped_nsobject.h" |
9 #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h" | 8 #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h" |
10 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
11 | 10 |
12 @class BrowserWindowController; | 11 @class BrowserWindowController; |
13 class Browser; | 12 class Browser; |
14 @class GTMUILocalizerAndLayoutTweaker; | 13 @class GTMUILocalizerAndLayoutTweaker; |
15 | 14 |
16 // The FullscreenExitBubbleController manages the bubble that tells the user | 15 // The FullscreenExitBubbleController manages the bubble that tells the user |
17 // how to escape fullscreen mode. The bubble only appears when a tab requests | 16 // how to escape fullscreen mode. The bubble only appears when a tab requests |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 - (void)allow:(id)sender; | 49 - (void)allow:(id)sender; |
51 - (void)deny:(id)sender; | 50 - (void)deny:(id)sender; |
52 | 51 |
53 - (void)showWindow; | 52 - (void)showWindow; |
54 - (void)closeImmediately; | 53 - (void)closeImmediately; |
55 | 54 |
56 // Positions the fullscreen exit bubble in the top-center of the window. | 55 // Positions the fullscreen exit bubble in the top-center of the window. |
57 - (void)positionInWindowAtTop:(CGFloat)maxY width:(CGFloat)maxWidth; | 56 - (void)positionInWindowAtTop:(CGFloat)maxY width:(CGFloat)maxWidth; |
58 | 57 |
59 @end | 58 @end |
OLD | NEW |