OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |