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

Side by Side Diff: chrome/browser/ui/cocoa/fullscreen_window.mm

Issue 6046009: Move base/mac_util.h to base/mac and use the base::mac namespace.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #import "chrome/browser/ui/cocoa/fullscreen_window.h" 5 #import "chrome/browser/ui/cocoa/fullscreen_window.h"
6 6
7 #include "base/mac_util.h"
8 #include "chrome/browser/themes/browser_theme_provider.h" 7 #include "chrome/browser/themes/browser_theme_provider.h"
9 #import "chrome/browser/ui/cocoa/themed_window.h" 8 #import "chrome/browser/ui/cocoa/themed_window.h"
10 9
11 @implementation FullscreenWindow 10 @implementation FullscreenWindow
12 11
13 // Make sure our designated initializer gets called. 12 // Make sure our designated initializer gets called.
14 - (id)init { 13 - (id)init {
15 return [self initForScreen:[NSScreen mainScreen]]; 14 return [self initForScreen:[NSScreen mainScreen]];
16 } 15 }
17 16
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 90
92 // Explicitly enable |-performClose:| (see above); otherwise the fact that 91 // Explicitly enable |-performClose:| (see above); otherwise the fact that
93 // this window does not have a close button results in it being disabled. 92 // this window does not have a close button results in it being disabled.
94 if (action == @selector(performClose:)) 93 if (action == @selector(performClose:))
95 return YES; 94 return YES;
96 95
97 return [super validateUserInterfaceItem:item]; 96 return [super validateUserInterfaceItem:item];
98 } 97 }
99 98
100 @end 99 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/fullscreen_controller.mm ('k') | chrome/browser/ui/cocoa/hung_renderer_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698