| 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 26 matching lines...) Expand all Loading... |
| 37 class BrowserWindowCocoa; | 37 class BrowserWindowCocoa; |
| 38 @class BrowserWindowFullscreenTransition; | 38 @class BrowserWindowFullscreenTransition; |
| 39 @class DevToolsController; | 39 @class DevToolsController; |
| 40 @class DownloadShelfController; | 40 @class DownloadShelfController; |
| 41 class ExtensionKeybindingRegistryCocoa; | 41 class ExtensionKeybindingRegistryCocoa; |
| 42 class ExclusiveAccessController; | 42 class ExclusiveAccessController; |
| 43 class ExclusiveAccessContext; | 43 class ExclusiveAccessContext; |
| 44 @class FindBarCocoaController; | 44 @class FindBarCocoaController; |
| 45 @class FullscreenModeController; | 45 @class FullscreenModeController; |
| 46 @class FullscreenWindow; | 46 @class FullscreenWindow; |
| 47 class FullscreenLowPowerCoordinatorCocoa; |
| 47 @class InfoBarContainerController; | 48 @class InfoBarContainerController; |
| 48 class LocationBarViewMac; | 49 class LocationBarViewMac; |
| 49 @class OverlayableContentsController; | 50 @class OverlayableContentsController; |
| 50 class PermissionBubbleCocoa; | 51 class PermissionBubbleCocoa; |
| 51 @class PresentationModeController; | 52 @class PresentationModeController; |
| 52 class StatusBubbleMac; | 53 class StatusBubbleMac; |
| 53 @class TabStripController; | 54 @class TabStripController; |
| 54 @class TabStripView; | 55 @class TabStripView; |
| 55 @class ToolbarController; | 56 @class ToolbarController; |
| 56 @class TranslateBubbleController; | 57 @class TranslateBubbleController; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 81 base::scoped_nsobject<InfoBarContainerController> infoBarContainerController_; | 82 base::scoped_nsobject<InfoBarContainerController> infoBarContainerController_; |
| 82 base::scoped_nsobject<DownloadShelfController> downloadShelfController_; | 83 base::scoped_nsobject<DownloadShelfController> downloadShelfController_; |
| 83 base::scoped_nsobject<BookmarkBarController> bookmarkBarController_; | 84 base::scoped_nsobject<BookmarkBarController> bookmarkBarController_; |
| 84 base::scoped_nsobject<DevToolsController> devToolsController_; | 85 base::scoped_nsobject<DevToolsController> devToolsController_; |
| 85 base::scoped_nsobject<OverlayableContentsController> | 86 base::scoped_nsobject<OverlayableContentsController> |
| 86 overlayableContentsController_; | 87 overlayableContentsController_; |
| 87 base::scoped_nsobject<PresentationModeController> presentationModeController_; | 88 base::scoped_nsobject<PresentationModeController> presentationModeController_; |
| 88 std::unique_ptr<ExclusiveAccessController> exclusiveAccessController_; | 89 std::unique_ptr<ExclusiveAccessController> exclusiveAccessController_; |
| 89 base::scoped_nsobject<BrowserWindowFullscreenTransition> | 90 base::scoped_nsobject<BrowserWindowFullscreenTransition> |
| 90 fullscreenTransition_; | 91 fullscreenTransition_; |
| 92 std::unique_ptr<FullscreenLowPowerCoordinatorCocoa> |
| 93 fullscreenLowPowerCoordinator_; |
| 91 | 94 |
| 92 // Strong. StatusBubble is a special case of a strong reference that | 95 // Strong. StatusBubble is a special case of a strong reference that |
| 93 // we don't wrap in a scoped_ptr because it is acting the same | 96 // we don't wrap in a scoped_ptr because it is acting the same |
| 94 // as an NSWindowController in that it wraps a window that must | 97 // as an NSWindowController in that it wraps a window that must |
| 95 // be shut down before our destructors are called. | 98 // be shut down before our destructors are called. |
| 96 StatusBubbleMac* statusBubble_; | 99 StatusBubbleMac* statusBubble_; |
| 97 | 100 |
| 98 std::unique_ptr<BookmarkBubbleObserverCocoa> bookmarkBubbleObserver_; | 101 std::unique_ptr<BookmarkBubbleObserverCocoa> bookmarkBubbleObserver_; |
| 99 BookmarkBubbleController* bookmarkBubbleController_; // Weak. | 102 BookmarkBubbleController* bookmarkBubbleController_; // Weak. |
| 100 BOOL initializing_; // YES while we are currently in initWithBrowser: | 103 BOOL initializing_; // YES while we are currently in initWithBrowser: |
| (...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 654 // Returns the active tab contents controller's |blockFullscreenResize_| flag. | 657 // Returns the active tab contents controller's |blockFullscreenResize_| flag. |
| 655 - (BOOL)isActiveTabContentsControllerResizeBlocked; | 658 - (BOOL)isActiveTabContentsControllerResizeBlocked; |
| 656 | 659 |
| 657 // Returns the presentation mode controller. | 660 // Returns the presentation mode controller. |
| 658 - (PresentationModeController*)presentationModeController; | 661 - (PresentationModeController*)presentationModeController; |
| 659 | 662 |
| 660 @end // @interface BrowserWindowController (TestingAPI) | 663 @end // @interface BrowserWindowController (TestingAPI) |
| 661 | 664 |
| 662 | 665 |
| 663 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 666 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
| OLD | NEW |