| 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 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
| 7 | 7 |
| 8 // A class acting as the Objective-C controller for the Browser | 8 // A class acting as the Objective-C controller for the Browser |
| 9 // object. Handles interactions between Cocoa and the cross-platform | 9 // object. Handles interactions between Cocoa and the cross-platform |
| 10 // code. Each window has a single toolbar and, by virtue of being a | 10 // code. Each window has a single toolbar and, by virtue of being a |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 (ExclusiveAccessContext::TabFullscreenState)state; | 512 (ExclusiveAccessContext::TabFullscreenState)state; |
| 513 | 513 |
| 514 // Exits extension fullscreen if we're currently in the mode. Returns YES | 514 // Exits extension fullscreen if we're currently in the mode. Returns YES |
| 515 // if we exited fullscreen. | 515 // if we exited fullscreen. |
| 516 - (BOOL)exitExtensionFullscreenIfPossible; | 516 - (BOOL)exitExtensionFullscreenIfPossible; |
| 517 | 517 |
| 518 // Updates the contents of the fullscreen exit bubble with |url| and | 518 // Updates the contents of the fullscreen exit bubble with |url| and |
| 519 // |bubbleType|. | 519 // |bubbleType|. |
| 520 - (void)updateFullscreenExitBubble; | 520 - (void)updateFullscreenExitBubble; |
| 521 | 521 |
| 522 // Returns YES if the browser window is in or entering any fullscreen mode. | |
| 523 - (BOOL)isInAnyFullscreenMode; | |
| 524 | |
| 525 // Returns YES if the browser window is currently in or entering fullscreen via | 522 // Returns YES if the browser window is currently in or entering fullscreen via |
| 526 // the built-in immersive mechanism. | 523 // the built-in immersive mechanism. |
| 527 - (BOOL)isInImmersiveFullscreen; | 524 - (BOOL)isInImmersiveFullscreen; |
| 528 | 525 |
| 529 // Returns YES if the browser window is currently in or entering fullscreen via | 526 // Returns YES if the browser window is currently in or entering fullscreen via |
| 530 // the AppKit Fullscreen API. | 527 // the AppKit Fullscreen API. |
| 531 - (BOOL)isInAppKitFullscreen; | 528 - (BOOL)isInAppKitFullscreen; |
| 532 | 529 |
| 533 // Enters Immersive Fullscreen for the given URL. | 530 // Enters Immersive Fullscreen for the given URL. |
| 534 - (void)enterWebContentFullscreen; | 531 - (void)enterWebContentFullscreen; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 617 // Returns the fullscreen toolbar controller. | 614 // Returns the fullscreen toolbar controller. |
| 618 - (FullscreenToolbarController*)fullscreenToolbarController; | 615 - (FullscreenToolbarController*)fullscreenToolbarController; |
| 619 | 616 |
| 620 // Sets the fullscreen toolbar controller. | 617 // Sets the fullscreen toolbar controller. |
| 621 - (void)setFullscreenToolbarController:(FullscreenToolbarController*)controller; | 618 - (void)setFullscreenToolbarController:(FullscreenToolbarController*)controller; |
| 622 | 619 |
| 623 @end // @interface BrowserWindowController (TestingAPI) | 620 @end // @interface BrowserWindowController (TestingAPI) |
| 624 | 621 |
| 625 | 622 |
| 626 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 623 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
| OLD | NEW |