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

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

Issue 17627005: mac: Remove unused includes of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: builds Created 7 years, 6 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) 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_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 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/mac/scoped_nsobject.h"
11 #include "chrome/browser/ui/cocoa/chrome_browser_window.h" 10 #include "chrome/browser/ui/cocoa/chrome_browser_window.h"
12 11
13 // Offsets from the top/left of the window frame to the top of the window 12 // Offsets from the top/left of the window frame to the top of the window
14 // controls (zoom, close, miniaturize) for a window with a tabstrip. 13 // controls (zoom, close, miniaturize) for a window with a tabstrip.
15 const NSInteger kFramedWindowButtonsWithTabStripOffsetFromTop = 11; 14 const NSInteger kFramedWindowButtonsWithTabStripOffsetFromTop = 11;
16 const NSInteger kFramedWindowButtonsWithTabStripOffsetFromLeft = 11; 15 const NSInteger kFramedWindowButtonsWithTabStripOffsetFromLeft = 11;
17 16
18 // Offsets from the top/left of the window frame to the top of the window 17 // Offsets from the top/left of the window frame to the top of the window
19 // controls (zoom, close, miniaturize) for a window without a tabstrip. 18 // controls (zoom, close, miniaturize) for a window without a tabstrip.
20 const NSInteger kFramedWindowButtonsWithoutTabStripOffsetFromTop = 4; 19 const NSInteger kFramedWindowButtonsWithoutTabStripOffsetFromTop = 4;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 69
71 // Undocumented Cocoa API to suppress drawing of the window's title. 70 // Undocumented Cocoa API to suppress drawing of the window's title.
72 // -setTitle: still works, but the title set only applies to the 71 // -setTitle: still works, but the title set only applies to the
73 // miniwindow and menus (and, importantly, Expose). Overridden to 72 // miniwindow and menus (and, importantly, Expose). Overridden to
74 // return |shouldHideTitle_|. 73 // return |shouldHideTitle_|.
75 -(BOOL)_isTitleHidden; 74 -(BOOL)_isTitleHidden;
76 75
77 @end 76 @end
78 77
79 #endif // CHROME_BROWSER_UI_COCOA_FRAMED_BROWSER_WINDOW_H_ 78 #endif // CHROME_BROWSER_UI_COCOA_FRAMED_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/extensions/extension_popup_controller.h ('k') | chrome/browser/ui/cocoa/fullscreen_window_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698