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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/tab_window_controller.mm

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/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/tabs/tab_window_controller.h" 5 #import "chrome/browser/ui/cocoa/tabs/tab_window_controller.h"
6 6
7 #include "app/theme_provider.h"
8 #include "base/logging.h" 7 #include "base/logging.h"
9 #import "chrome/browser/ui/cocoa/focus_tracker.h" 8 #import "chrome/browser/ui/cocoa/focus_tracker.h"
10 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" 9 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h"
11 #import "chrome/browser/ui/cocoa/themed_window.h" 10 #import "chrome/browser/ui/cocoa/themed_window.h"
11 #include "ui/base/theme_provider.h"
12 12
13 @interface TabWindowController(PRIVATE) 13 @interface TabWindowController(PRIVATE)
14 - (void)setUseOverlay:(BOOL)useOverlay; 14 - (void)setUseOverlay:(BOOL)useOverlay;
15 @end 15 @end
16 16
17 @interface TabWindowOverlayWindow : NSWindow 17 @interface TabWindowOverlayWindow : NSWindow
18 @end 18 @end
19 19
20 @implementation TabWindowOverlayWindow 20 @implementation TabWindowOverlayWindow
21 21
22 - (ThemeProvider*)themeProvider { 22 - (ui::ThemeProvider*)themeProvider {
23 if ([self parentWindow]) 23 if ([self parentWindow])
24 return [[[self parentWindow] windowController] themeProvider]; 24 return [[[self parentWindow] windowController] themeProvider];
25 return NULL; 25 return NULL;
26 } 26 }
27 27
28 - (ThemedWindowStyle)themedWindowStyle { 28 - (ThemedWindowStyle)themedWindowStyle {
29 if ([self parentWindow]) 29 if ([self parentWindow])
30 return [[[self parentWindow] windowController] themedWindowStyle]; 30 return [[[self parentWindow] windowController] themedWindowStyle];
31 return NO; 31 return NO;
32 } 32 }
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 closeDeferred_ = YES; 347 closeDeferred_ = YES;
348 } 348 }
349 349
350 // Called when the size of the window content area has changed. Override to 350 // Called when the size of the window content area has changed. Override to
351 // position specific views. Base class implementation does nothing. 351 // position specific views. Base class implementation does nothing.
352 - (void)layoutSubviews { 352 - (void)layoutSubviews {
353 NOTIMPLEMENTED(); 353 NOTIMPLEMENTED();
354 } 354 }
355 355
356 @end 356 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/status_bubble_mac.mm ('k') | chrome/browser/ui/gtk/back_forward_button_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698