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

Side by Side Diff: chrome/browser/cocoa/tab_strip_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
« no previous file with comments | « chrome/browser/cocoa/tab_controller.mm ('k') | chrome/browser/cocoa/tab_view.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #import "chrome/browser/cocoa/tab_strip_controller.h" 5 #import "chrome/browser/cocoa/tab_strip_controller.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/mac_util.h" 9 #include "base/mac_util.h"
10 #include "base/nsimage_cache_mac.h"
10 #include "base/sys_string_conversions.h" 11 #include "base/sys_string_conversions.h"
11 #include "chrome/app/chrome_dll_resource.h" 12 #include "chrome/app/chrome_dll_resource.h"
12 #include "chrome/browser/browser.h" 13 #include "chrome/browser/browser.h"
13 #include "chrome/browser/cocoa/nsimage_cache.h"
14 #include "chrome/browser/find_bar.h" 14 #include "chrome/browser/find_bar.h"
15 #include "chrome/browser/find_bar_controller.h" 15 #include "chrome/browser/find_bar_controller.h"
16 #include "chrome/browser/metrics/user_metrics.h" 16 #include "chrome/browser/metrics/user_metrics.h"
17 #include "chrome/browser/profile.h" 17 #include "chrome/browser/profile.h"
18 #import "chrome/browser/cocoa/browser_window_controller.h" 18 #import "chrome/browser/cocoa/browser_window_controller.h"
19 #import "chrome/browser/cocoa/constrained_window_mac.h" 19 #import "chrome/browser/cocoa/constrained_window_mac.h"
20 #import "chrome/browser/cocoa/tab_strip_view.h" 20 #import "chrome/browser/cocoa/tab_strip_view.h"
21 #import "chrome/browser/cocoa/tab_cell.h" 21 #import "chrome/browser/cocoa/tab_cell.h"
22 #import "chrome/browser/cocoa/tab_contents_controller.h" 22 #import "chrome/browser/cocoa/tab_contents_controller.h"
23 #import "chrome/browser/cocoa/tab_controller.h" 23 #import "chrome/browser/cocoa/tab_controller.h"
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 BrowserWindowController* controller = 979 BrowserWindowController* controller =
980 (BrowserWindowController*)[[switchView_ window] windowController]; 980 (BrowserWindowController*)[[switchView_ window] windowController];
981 DCHECK(index >= 0); 981 DCHECK(index >= 0);
982 if (index >= 0) { 982 if (index >= 0) {
983 [controller setTab:[self viewAtIndex:index] isDraggable:YES]; 983 [controller setTab:[self viewAtIndex:index] isDraggable:YES];
984 } 984 }
985 } 985 }
986 986
987 987
988 @end 988 @end
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/tab_controller.mm ('k') | chrome/browser/cocoa/tab_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698