| 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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 - (BOOL)isInAnyFullscreenMode; | 508 - (BOOL)isInAnyFullscreenMode; |
| 509 | 509 |
| 510 // Returns YES if the browser window is currently in or entering fullscreen via | 510 // Returns YES if the browser window is currently in or entering fullscreen via |
| 511 // the built-in immersive mechanism. | 511 // the built-in immersive mechanism. |
| 512 - (BOOL)isInImmersiveFullscreen; | 512 - (BOOL)isInImmersiveFullscreen; |
| 513 | 513 |
| 514 // Returns YES if the browser window is currently in or entering fullscreen via | 514 // Returns YES if the browser window is currently in or entering fullscreen via |
| 515 // the AppKit Fullscreen API. | 515 // the AppKit Fullscreen API. |
| 516 - (BOOL)isInAppKitFullscreen; | 516 - (BOOL)isInAppKitFullscreen; |
| 517 | 517 |
| 518 // Returns YES if the PresentationModeController exists and hence the omnibox | |
| 519 // and other UI is expected to slide. | |
| 520 - (BOOL)isInFullscreenWithOmniboxSliding; | |
| 521 | |
| 522 // Enters presentation mode. | 518 // Enters presentation mode. |
| 523 - (void)enterPresentationMode; | 519 - (void)enterPresentationMode; |
| 524 | 520 |
| 525 // Enter fullscreen for an extension. | 521 // Enter fullscreen for an extension. |
| 526 - (void)enterExtensionFullscreenForURL:(const GURL&)url | 522 - (void)enterExtensionFullscreenForURL:(const GURL&)url |
| 527 bubbleType:(FullscreenExitBubbleType)bubbleType; | 523 bubbleType:(FullscreenExitBubbleType)bubbleType; |
| 528 | 524 |
| 529 // Enters Immersive Fullscreen for the given URL. | 525 // Enters Immersive Fullscreen for the given URL. |
| 530 - (void)enterWebContentFullscreenForURL:(const GURL&)url | 526 - (void)enterWebContentFullscreenForURL:(const GURL&)url |
| 531 bubbleType:(FullscreenExitBubbleType)bubbleType; | 527 bubbleType:(FullscreenExitBubbleType)bubbleType; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 606 // positioned relative to. | 602 // positioned relative to. |
| 607 - (NSRect)omniboxPopupAnchorRect; | 603 - (NSRect)omniboxPopupAnchorRect; |
| 608 | 604 |
| 609 // Force a layout of info bars. | 605 // Force a layout of info bars. |
| 610 - (void)layoutInfoBars; | 606 - (void)layoutInfoBars; |
| 611 | 607 |
| 612 @end // @interface BrowserWindowController (TestingAPI) | 608 @end // @interface BrowserWindowController (TestingAPI) |
| 613 | 609 |
| 614 | 610 |
| 615 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 611 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
| OLD | NEW |