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

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

Issue 7566016: Fullscreen support for Lion. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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_FRAMED_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_FRAMED_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_COCOA_FRAMED_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_COCOA_FRAMED_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 24 matching lines...) Expand all
35 35
36 CGFloat windowButtonsInterButtonSpacing_; 36 CGFloat windowButtonsInterButtonSpacing_;
37 } 37 }
38 38
39 // Tells the window to suppress title drawing. 39 // Tells the window to suppress title drawing.
40 - (void)setShouldHideTitle:(BOOL)flag; 40 - (void)setShouldHideTitle:(BOOL)flag;
41 41
42 // Returns the desired spacing between window control views. 42 // Returns the desired spacing between window control views.
43 - (CGFloat)windowButtonsInterButtonSpacing; 43 - (CGFloat)windowButtonsInterButtonSpacing;
44 44
45 // Calls the superclass's implementation of |-toggleFullScreen:|.
46 - (void)toggleSystemFullScreen;
47
45 @end 48 @end
46 49
47 @interface NSWindow (UndocumentedAPI) 50 @interface NSWindow (UndocumentedAPI)
48 51
49 // Undocumented Cocoa API to suppress drawing of the window's title. 52 // Undocumented Cocoa API to suppress drawing of the window's title.
50 // -setTitle: still works, but the title set only applies to the 53 // -setTitle: still works, but the title set only applies to the
51 // miniwindow and menus (and, importantly, Expose). Overridden to 54 // miniwindow and menus (and, importantly, Expose). Overridden to
52 // return |shouldHideTitle_|. 55 // return |shouldHideTitle_|.
53 -(BOOL)_isTitleHidden; 56 -(BOOL)_isTitleHidden;
54 57
55 @end 58 @end
56 59
57 #endif // CHROME_BROWSER_UI_COCOA_FRAMED_BROWSER_WINDOW_H_ 60 #endif // CHROME_BROWSER_UI_COCOA_FRAMED_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/download/download_shelf_controller.mm ('k') | chrome/browser/ui/cocoa/framed_browser_window.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698