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

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

Issue 1381633002: Cleanup: IWYU for browser_navigator.h and browser_navigator_params.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, fix merge conflict Created 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_strip_controller.h" 5 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h"
6 6
7 #import <QuartzCore/QuartzCore.h> 7 #import <QuartzCore/QuartzCore.h>
8 8
9 #include <cmath> 9 #include <cmath>
10 #include <limits> 10 #include <limits>
11 #include <string> 11 #include <string>
12 12
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/mac/mac_util.h" 14 #include "base/mac/mac_util.h"
15 #include "base/mac/scoped_nsautorelease_pool.h" 15 #include "base/mac/scoped_nsautorelease_pool.h"
16 #include "base/metrics/histogram.h" 16 #include "base/metrics/histogram.h"
17 #include "base/prefs/pref_service.h" 17 #include "base/prefs/pref_service.h"
18 #include "base/strings/sys_string_conversions.h" 18 #include "base/strings/sys_string_conversions.h"
19 #include "chrome/app/chrome_command_ids.h" 19 #include "chrome/app/chrome_command_ids.h"
20 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" 20 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h"
21 #include "chrome/browser/extensions/tab_helper.h" 21 #include "chrome/browser/extensions/tab_helper.h"
22 #include "chrome/browser/favicon/favicon_utils.h" 22 #include "chrome/browser/favicon/favicon_utils.h"
23 #include "chrome/browser/profiles/profile.h" 23 #include "chrome/browser/profiles/profile.h"
24 #include "chrome/browser/profiles/profile_manager.h" 24 #include "chrome/browser/profiles/profile_manager.h"
25 #include "chrome/browser/themes/theme_service.h" 25 #include "chrome/browser/themes/theme_service.h"
26 #include "chrome/browser/ui/browser.h" 26 #include "chrome/browser/ui/browser.h"
27 #include "chrome/browser/ui/browser_navigator.h" 27 #include "chrome/browser/ui/browser_navigator.h"
28 #include "chrome/browser/ui/browser_navigator_params.h"
28 #include "chrome/browser/ui/browser_tabstrip.h" 29 #include "chrome/browser/ui/browser_tabstrip.h"
29 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 30 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
30 #include "chrome/browser/ui/cocoa/drag_util.h" 31 #include "chrome/browser/ui/cocoa/drag_util.h"
31 #import "chrome/browser/ui/cocoa/image_button_cell.h" 32 #import "chrome/browser/ui/cocoa/image_button_cell.h"
32 #import "chrome/browser/ui/cocoa/new_tab_button.h" 33 #import "chrome/browser/ui/cocoa/new_tab_button.h"
33 #import "chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.h" 34 #import "chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.h"
34 #import "chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h" 35 #import "chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h"
35 #import "chrome/browser/ui/cocoa/tabs/media_indicator_button_cocoa.h" 36 #import "chrome/browser/ui/cocoa/tabs/media_indicator_button_cocoa.h"
36 #import "chrome/browser/ui/cocoa/tabs/tab_controller.h" 37 #import "chrome/browser/ui/cocoa/tabs/tab_controller.h"
37 #import "chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.h" 38 #import "chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.h"
(...skipping 2289 matching lines...) Expand 10 before | Expand all | Expand 10 after
2327 forButtonState:image_button_cell::kHoverStateBackground]; 2328 forButtonState:image_button_cell::kHoverStateBackground];
2328 } else { 2329 } else {
2329 [[newTabButton_ cell] setImage:nil 2330 [[newTabButton_ cell] setImage:nil
2330 forButtonState:image_button_cell::kDefaultStateBackground]; 2331 forButtonState:image_button_cell::kDefaultStateBackground];
2331 [[newTabButton_ cell] setImage:nil 2332 [[newTabButton_ cell] setImage:nil
2332 forButtonState:image_button_cell::kHoverStateBackground]; 2333 forButtonState:image_button_cell::kHoverStateBackground];
2333 } 2334 }
2334 } 2335 }
2335 2336
2336 @end 2337 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698