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

Side by Side Diff: chrome/browser/cocoa/tab_controller.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, 3 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 #include "app/l10n_util_mac.h" 5 #include "app/l10n_util_mac.h"
6 #include "base/mac_util.h" 6 #include "base/mac_util.h"
7 #import "chrome/browser/browser_theme_provider.h"
8 #import "chrome/browser/cocoa/menu_controller.h" 7 #import "chrome/browser/cocoa/menu_controller.h"
9 #import "chrome/browser/cocoa/tab_controller.h" 8 #import "chrome/browser/cocoa/tab_controller.h"
10 #import "chrome/browser/cocoa/tab_controller_target.h" 9 #import "chrome/browser/cocoa/tab_controller_target.h"
11 #import "chrome/browser/cocoa/tab_view.h" 10 #import "chrome/browser/cocoa/tab_view.h"
12 #import "chrome/browser/cocoa/themed_window.h" 11 #import "chrome/browser/cocoa/themed_window.h"
12 #import "chrome/browser/themes/browser_theme_provider.h"
13 #import "chrome/common/extensions/extension.h" 13 #import "chrome/common/extensions/extension.h"
14 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
15 15
16 @implementation TabController 16 @implementation TabController
17 17
18 @synthesize action = action_; 18 @synthesize action = action_;
19 @synthesize app = app_; 19 @synthesize app = app_;
20 @synthesize loadingState = loadingState_; 20 @synthesize loadingState = loadingState_;
21 @synthesize mini = mini_; 21 @synthesize mini = mini_;
22 @synthesize phantom = phantom_; 22 @synthesize phantom = phantom_;
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 // Called by the tabs to determine whether we are in rapid (tab) closure mode. 305 // Called by the tabs to determine whether we are in rapid (tab) closure mode.
306 - (BOOL)inRapidClosureMode { 306 - (BOOL)inRapidClosureMode {
307 if ([[self target] respondsToSelector:@selector(inRapidClosureMode)]) { 307 if ([[self target] respondsToSelector:@selector(inRapidClosureMode)]) {
308 return [[self target] performSelector:@selector(inRapidClosureMode)] ? 308 return [[self target] performSelector:@selector(inRapidClosureMode)] ?
309 YES : NO; 309 YES : NO;
310 } 310 }
311 return NO; 311 return NO;
312 } 312 }
313 313
314 @end 314 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698