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

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

Issue 7355016: Lion: Need to use new full-screen API (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 // A class acting as the Objective-C controller for the Browser 9 // A class acting as the Objective-C controller for the Browser
10 // object. Handles interactions between Cocoa and the cross-platform 10 // object. Handles interactions between Cocoa and the cross-platform
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 - (BOOL)supportsBookmarkBar; 321 - (BOOL)supportsBookmarkBar;
322 322
323 // Called to check if this controller's window is a tabbed window (e.g., not a 323 // Called to check if this controller's window is a tabbed window (e.g., not a
324 // pop-up window). Returns YES if it is, NO otherwise. 324 // pop-up window). Returns YES if it is, NO otherwise.
325 // Note: The |-has...| methods are usually preferred, so this method is largely 325 // Note: The |-has...| methods are usually preferred, so this method is largely
326 // deprecated. 326 // deprecated.
327 - (BOOL)isTabbedWindow; 327 - (BOOL)isTabbedWindow;
328 328
329 @end // @interface BrowserWindowController(WindowType) 329 @end // @interface BrowserWindowController(WindowType)
330 330
331 // Methods having to do with full screen mode in Lion.
332 @interface BrowserWindowController(LionFullScreen)
Robert Sesek 2011/07/13 14:47:15 nit: space before (
333 - (void)windowDidEnterFullScreen:(NSNotification *)notification;
Robert Sesek 2011/07/13 14:47:15 Chromium style does not put a space between the ty
334 - (void)windowDidExitFullScreen:(NSNotification *)notification;
335 - (BOOL)isLionFullScreen;
336 @end
331 337
332 // Methods having to do with fullscreen mode. 338 // Methods having to do with fullscreen mode.
333 @interface BrowserWindowController(Fullscreen) 339 @interface BrowserWindowController(Fullscreen)
334 340
335 // Enters fullscreen mode. 341 // Enters fullscreen mode.
336 - (IBAction)enterFullscreen:(id)sender; 342 - (IBAction)enterFullscreen:(id)sender;
337 343
338 // Enters (or exits) fullscreen mode. 344 // Enters (or exits) fullscreen mode.
339 - (void)setFullscreen:(BOOL)fullscreen; 345 - (void)setFullscreen:(BOOL)fullscreen;
340 346
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 - (void)resetWindowGrowthState; 412 - (void)resetWindowGrowthState;
407 413
408 // Computes by how far in each direction, horizontal and vertical, the 414 // Computes by how far in each direction, horizontal and vertical, the
409 // |source| rect doesn't fit into |target|. 415 // |source| rect doesn't fit into |target|.
410 - (NSSize)overflowFrom:(NSRect)source 416 - (NSSize)overflowFrom:(NSRect)source
411 to:(NSRect)target; 417 to:(NSRect)target;
412 @end // @interface BrowserWindowController (TestingAPI) 418 @end // @interface BrowserWindowController (TestingAPI)
413 419
414 420
415 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 421 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698