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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 - (BOOL)isInAppKitFullscreen; | 488 - (BOOL)isInAppKitFullscreen; |
489 | 489 |
490 // Returns YES if the PresentationModeController exists and hence the omnibox | 490 // Returns YES if the PresentationModeController exists and hence the omnibox |
491 // and other UI is expected to slide. | 491 // and other UI is expected to slide. |
492 - (BOOL)isInFullscreenWithOmniboxSliding; | 492 - (BOOL)isInFullscreenWithOmniboxSliding; |
493 | 493 |
494 // Enters (or exits) presentation mode. | 494 // Enters (or exits) presentation mode. |
495 - (void)enterPresentationModeForURL:(const GURL&)url | 495 - (void)enterPresentationModeForURL:(const GURL&)url |
496 bubbleType:(FullscreenExitBubbleType)bubbleType; | 496 bubbleType:(FullscreenExitBubbleType)bubbleType; |
497 | 497 |
498 // Tries to use AppKit Fullscreen, falls back to Immersive Fullscreen. | 498 // Enters Immersive Fullscreen for the given URL. |
499 - (void)enterHTML5FullscreenForURL:(const GURL&)url | 499 - (void)enterHTML5FullscreenForURL:(const GURL&)url |
500 bubbleType:(FullscreenExitBubbleType)bubbleType; | 500 bubbleType:(FullscreenExitBubbleType)bubbleType; |
501 | 501 |
502 // Exits the current fullscreen mode. | 502 // Exits the current fullscreen mode. |
503 - (void)exitAnyFullscreen; | 503 - (void)exitAnyFullscreen; |
504 | 504 |
505 // Whether the system is in the very specific fullscreen mode: Presentation | 505 // Whether the system is in the very specific fullscreen mode: Presentation |
506 // Mode. | 506 // Mode. |
507 - (BOOL)inPresentationMode; | 507 - (BOOL)inPresentationMode; |
508 | 508 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 // positioned relative to. | 575 // positioned relative to. |
576 - (NSRect)omniboxPopupAnchorRect; | 576 - (NSRect)omniboxPopupAnchorRect; |
577 | 577 |
578 // Force a layout of info bars. | 578 // Force a layout of info bars. |
579 - (void)layoutInfoBars; | 579 - (void)layoutInfoBars; |
580 | 580 |
581 @end // @interface BrowserWindowController (TestingAPI) | 581 @end // @interface BrowserWindowController (TestingAPI) |
582 | 582 |
583 | 583 |
584 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 584 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
OLD | NEW |