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

Side by Side Diff: chrome/browser/ui/cocoa/tab_strip_controller.mm

Issue 6046009: Move base/mac_util.h to base/mac and use the base::mac namespace.... (Closed) Base URL: svn://chrome-svn/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
« no previous file with comments | « chrome/browser/ui/cocoa/tab_controller.mm ('k') | chrome/browser/ui/cocoa/tab_strip_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) 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/tab_strip_controller.h" 5 #import "chrome/browser/ui/cocoa/tab_strip_controller.h"
6 6
7 #import <QuartzCore/QuartzCore.h> 7 #import <QuartzCore/QuartzCore.h>
8 8
9 #include <limits> 9 #include <limits>
10 #include <string> 10 #include <string>
11 11
12 #include "app/l10n_util.h" 12 #include "app/l10n_util.h"
13 #include "app/mac/nsimage_cache.h" 13 #include "app/mac/nsimage_cache.h"
14 #include "app/resource_bundle.h" 14 #include "app/resource_bundle.h"
15 #include "base/mac_util.h"
16 #include "base/sys_string_conversions.h" 15 #include "base/sys_string_conversions.h"
17 #include "chrome/app/chrome_command_ids.h" 16 #include "chrome/app/chrome_command_ids.h"
18 #include "chrome/browser/autocomplete/autocomplete.h" 17 #include "chrome/browser/autocomplete/autocomplete.h"
19 #include "chrome/browser/autocomplete/autocomplete_classifier.h" 18 #include "chrome/browser/autocomplete/autocomplete_classifier.h"
20 #include "chrome/browser/autocomplete/autocomplete_match.h" 19 #include "chrome/browser/autocomplete/autocomplete_match.h"
21 #include "chrome/browser/metrics/user_metrics.h" 20 #include "chrome/browser/metrics/user_metrics.h"
22 #include "chrome/browser/profiles/profile.h" 21 #include "chrome/browser/profiles/profile.h"
23 #include "chrome/browser/debugger/devtools_window.h" 22 #include "chrome/browser/debugger/devtools_window.h"
24 #include "chrome/browser/net/url_fixer_upper.h" 23 #include "chrome/browser/net/url_fixer_upper.h"
25 #include "chrome/browser/sidebar/sidebar_container.h" 24 #include "chrome/browser/sidebar/sidebar_container.h"
(...skipping 1865 matching lines...) Expand 10 before | Expand all | Expand 10 after
1891 NSInteger index = [self indexFromModelIndex:modelIndex]; 1890 NSInteger index = [self indexFromModelIndex:modelIndex];
1892 BrowserWindowController* controller = 1891 BrowserWindowController* controller =
1893 (BrowserWindowController*)[[switchView_ window] windowController]; 1892 (BrowserWindowController*)[[switchView_ window] windowController];
1894 DCHECK(index >= 0); 1893 DCHECK(index >= 0);
1895 if (index >= 0) { 1894 if (index >= 0) {
1896 [controller setTab:[self viewAtIndex:index] isDraggable:YES]; 1895 [controller setTab:[self viewAtIndex:index] isDraggable:YES];
1897 } 1896 }
1898 } 1897 }
1899 1898
1900 @end 1899 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tab_controller.mm ('k') | chrome/browser/ui/cocoa/tab_strip_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698