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

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

Issue 3173043: Move theme files in chrome/browser/ into a themes/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 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
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/cocoa/fullscreen_window.h" 5 #import "chrome/browser/cocoa/fullscreen_window.h"
6 6
7 #include "base/mac_util.h" 7 #include "base/mac_util.h"
8 #include "chrome/browser/browser_theme_provider.h"
9 #import "chrome/browser/cocoa/themed_window.h" 8 #import "chrome/browser/cocoa/themed_window.h"
9 #include "chrome/browser/themes/browser_theme_provider.h"
10 10
11 @implementation FullscreenWindow 11 @implementation FullscreenWindow
12 12
13 // Make sure our designated initializer gets called. 13 // Make sure our designated initializer gets called.
14 - (id)init { 14 - (id)init {
15 return [self initForScreen:[NSScreen mainScreen]]; 15 return [self initForScreen:[NSScreen mainScreen]];
16 } 16 }
17 17
18 - (id)initForScreen:(NSScreen*)screen { 18 - (id)initForScreen:(NSScreen*)screen {
19 NSRect contentRect; 19 NSRect contentRect;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 } 97 }
98 98
99 - (NSPoint)themePatternPhase { 99 - (NSPoint)themePatternPhase {
100 id delegate = [self delegate]; 100 id delegate = [self delegate];
101 if (![delegate respondsToSelector:@selector(themePatternPhase)]) 101 if (![delegate respondsToSelector:@selector(themePatternPhase)])
102 return NSMakePoint(0, 0); 102 return NSMakePoint(0, 0);
103 return [delegate themePatternPhase]; 103 return [delegate themePatternPhase];
104 } 104 }
105 105
106 @end 106 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698