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