Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_controller.h

Issue 846443004: mac: Implement custom AppKit Enter Fullscreen transition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 14 matching lines...) Expand all
25 #import "chrome/browser/ui/cocoa/url_drop_target.h" 25 #import "chrome/browser/ui/cocoa/url_drop_target.h"
26 #import "chrome/browser/ui/cocoa/view_resizer.h" 26 #import "chrome/browser/ui/cocoa/view_resizer.h"
27 #include "components/translate/core/common/translate_errors.h" 27 #include "components/translate/core/common/translate_errors.h"
28 #include "ui/base/accelerators/accelerator_manager.h" 28 #include "ui/base/accelerators/accelerator_manager.h"
29 #include "ui/gfx/geometry/rect.h" 29 #include "ui/gfx/geometry/rect.h"
30 30
31 @class AvatarBaseController; 31 @class AvatarBaseController;
32 class Browser; 32 class Browser;
33 class BrowserWindow; 33 class BrowserWindow;
34 class BrowserWindowCocoa; 34 class BrowserWindowCocoa;
35 @class BrowserWindowEnterFullscreenTransition;
35 @class DevToolsController; 36 @class DevToolsController;
36 @class DownloadShelfController; 37 @class DownloadShelfController;
37 class ExtensionKeybindingRegistryCocoa; 38 class ExtensionKeybindingRegistryCocoa;
38 @class FindBarCocoaController; 39 @class FindBarCocoaController;
39 @class FullscreenModeController; 40 @class FullscreenModeController;
40 @class FullscreenWindow; 41 @class FullscreenWindow;
41 @class InfoBarContainerController; 42 @class InfoBarContainerController;
42 class LocationBarViewMac; 43 class LocationBarViewMac;
43 @class OverlayableContentsController; 44 @class OverlayableContentsController;
44 class PermissionBubbleCocoa; 45 class PermissionBubbleCocoa;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 base::scoped_nsobject<FindBarCocoaController> findBarCocoaController_; 77 base::scoped_nsobject<FindBarCocoaController> findBarCocoaController_;
77 base::scoped_nsobject<InfoBarContainerController> infoBarContainerController_; 78 base::scoped_nsobject<InfoBarContainerController> infoBarContainerController_;
78 base::scoped_nsobject<DownloadShelfController> downloadShelfController_; 79 base::scoped_nsobject<DownloadShelfController> downloadShelfController_;
79 base::scoped_nsobject<BookmarkBarController> bookmarkBarController_; 80 base::scoped_nsobject<BookmarkBarController> bookmarkBarController_;
80 base::scoped_nsobject<DevToolsController> devToolsController_; 81 base::scoped_nsobject<DevToolsController> devToolsController_;
81 base::scoped_nsobject<OverlayableContentsController> 82 base::scoped_nsobject<OverlayableContentsController>
82 overlayableContentsController_; 83 overlayableContentsController_;
83 base::scoped_nsobject<PresentationModeController> presentationModeController_; 84 base::scoped_nsobject<PresentationModeController> presentationModeController_;
84 base::scoped_nsobject<ExclusiveAccessBubbleWindowController> 85 base::scoped_nsobject<ExclusiveAccessBubbleWindowController>
85 exclusiveAccessBubbleWindowController_; 86 exclusiveAccessBubbleWindowController_;
87 base::scoped_nsobject<BrowserWindowEnterFullscreenTransition>
88 enterFullscreenTransition_;
86 89
87 // Strong. StatusBubble is a special case of a strong reference that 90 // Strong. StatusBubble is a special case of a strong reference that
88 // we don't wrap in a scoped_ptr because it is acting the same 91 // we don't wrap in a scoped_ptr because it is acting the same
89 // as an NSWindowController in that it wraps a window that must 92 // as an NSWindowController in that it wraps a window that must
90 // be shut down before our destructors are called. 93 // be shut down before our destructors are called.
91 StatusBubbleMac* statusBubble_; 94 StatusBubbleMac* statusBubble_;
92 95
93 BookmarkBubbleController* bookmarkBubbleController_; // Weak. 96 BookmarkBubbleController* bookmarkBubbleController_; // Weak.
94 BOOL initializing_; // YES while we are currently in initWithBrowser: 97 BOOL initializing_; // YES while we are currently in initWithBrowser:
95 BOOL ownsBrowser_; // Only ever NO when testing 98 BOOL ownsBrowser_; // Only ever NO when testing
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 // positioned relative to. 611 // positioned relative to.
609 - (NSRect)omniboxPopupAnchorRect; 612 - (NSRect)omniboxPopupAnchorRect;
610 613
611 // Force a layout of info bars. 614 // Force a layout of info bars.
612 - (void)layoutInfoBars; 615 - (void)layoutInfoBars;
613 616
614 @end // @interface BrowserWindowController (TestingAPI) 617 @end // @interface BrowserWindowController (TestingAPI)
615 618
616 619
617 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 620 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698