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

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

Issue 243100: Move nsimage_cache into base so that it can be accessed from outside of chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "base/mac_util.h" 5 #include "base/mac_util.h"
6 #include "chrome/browser/cocoa/nsimage_cache.h"
7 #import "chrome/browser/cocoa/tab_controller.h" 6 #import "chrome/browser/cocoa/tab_controller.h"
8 #import "chrome/browser/cocoa/tab_controller_target.h" 7 #import "chrome/browser/cocoa/tab_controller_target.h"
9 #import "chrome/browser/cocoa/tab_view.h" 8 #import "chrome/browser/cocoa/tab_view.h"
10 #import "third_party/GTM/AppKit/GTMTheme.h" 9 #import "third_party/GTM/AppKit/GTMTheme.h"
11 10
12 @interface TabController(Private) 11 @interface TabController(Private)
13 - (void)updateVisibility; 12 - (void)updateVisibility;
14 @end 13 @end
15 14
16 @implementation TabController 15 @implementation TabController
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 // Called by the tabs to determine whether we are in rapid (tab) closure mode. 240 // Called by the tabs to determine whether we are in rapid (tab) closure mode.
242 - (BOOL)inRapidClosureMode { 241 - (BOOL)inRapidClosureMode {
243 if ([[self target] respondsToSelector:@selector(inRapidClosureMode)]) { 242 if ([[self target] respondsToSelector:@selector(inRapidClosureMode)]) {
244 return [[self target] performSelector:@selector(inRapidClosureMode)] ? 243 return [[self target] performSelector:@selector(inRapidClosureMode)] ?
245 YES : NO; 244 YES : NO;
246 } 245 }
247 return NO; 246 return NO;
248 } 247 }
249 248
250 @end 249 @end
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/nsimage_cache_unittest.mm ('k') | chrome/browser/cocoa/tab_strip_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698