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

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 andresantoso. 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
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.
Robert Sesek 2014/09/05 19:53:40 This needs an actual declaration comment, too.
erikchen 2014/09/05 20:47:01 Done.
163 - (PresentationModeController*)newPresentationModeControllerWithStyle:
164 (fullscreen_mac::SlidingStyle)style;
165
162 // Toggles the AppKit Fullscreen API. By default, doing so enters Canonical 166 // Toggles the AppKit Fullscreen API. By default, doing so enters Canonical
163 // Fullscreen. 167 // Fullscreen.
164 - (void)enterAppKitFullscreen; 168 - (void)enterAppKitFullscreen;
165 - (void)exitAppKitFullscreen; 169 - (void)exitAppKitFullscreen;
166 170
167 @end // @interface BrowserWindowController(Private) 171 @end // @interface BrowserWindowController(Private)
168 172
169 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ 173 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698