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

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

Issue 545643002: mac: Add basic layout unit test for fullscreen transition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from rsesek. Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller_private.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PRIVATE_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
7 7
8 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 8 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
9 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h" 9 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h"
10 10
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // Allows the omnibox to slide. Also prepares UI for several fullscreen modes. 152 // Allows the omnibox to slide. Also prepares UI for several fullscreen modes.
153 // This method gets called when entering AppKit fullscren, or when entering 153 // This method gets called when entering AppKit fullscren, or when entering
154 // Immersive fullscreen. Expects fullscreenStyle_ to be set. 154 // Immersive fullscreen. Expects fullscreenStyle_ to be set.
155 - (void)adjustUIForSlidingFullscreenStyle:(fullscreen_mac::SlidingStyle)style; 155 - (void)adjustUIForSlidingFullscreenStyle:(fullscreen_mac::SlidingStyle)style;
156 156
157 // This method gets called when exiting AppKit fullscreen, or when exiting 157 // This method gets called when exiting AppKit fullscreen, or when exiting
158 // Immersive fullscreen. It performs some common UI changes, and stops the 158 // Immersive fullscreen. It performs some common UI changes, and stops the
159 // omnibox from sliding. 159 // omnibox from sliding.
160 - (void)adjustUIForExitingFullscreenAndStopOmniboxSliding; 160 - (void)adjustUIForExitingFullscreenAndStopOmniboxSliding;
161 161
162 // Exposed for testing.
163 // Creates a PresentationModeController with the given style.
164 - (PresentationModeController*)newPresentationModeControllerWithStyle:
165 (fullscreen_mac::SlidingStyle)style;
166
162 // Toggles the AppKit Fullscreen API. By default, doing so enters Canonical 167 // Toggles the AppKit Fullscreen API. By default, doing so enters Canonical
163 // Fullscreen. 168 // Fullscreen.
164 - (void)enterAppKitFullscreen; 169 - (void)enterAppKitFullscreen;
165 - (void)exitAppKitFullscreen; 170 - (void)exitAppKitFullscreen;
166 171
167 @end // @interface BrowserWindowController(Private) 172 @end // @interface BrowserWindowController(Private)
168 173
169 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ 174 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller_private.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698