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

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

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 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) 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_controller.h" 5 #import "chrome/browser/ui/cocoa/tabs/tab_controller.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
11 #include "base/mac/bundle_locations.h" 11 #include "base/mac/bundle_locations.h"
12 #include "base/mac/mac_util.h" 12 #include "base/mac/mac_util.h"
13 #import "chrome/browser/themes/theme_properties.h" 13 #import "chrome/browser/themes/theme_properties.h"
14 #import "chrome/browser/themes/theme_service.h" 14 #import "chrome/browser/themes/theme_service.h"
15 #import "chrome/browser/ui/cocoa/sprite_view.h" 15 #import "chrome/browser/ui/cocoa/sprite_view.h"
16 #import "chrome/browser/ui/cocoa/tabs/media_indicator_view.h" 16 #import "chrome/browser/ui/cocoa/tabs/media_indicator_view.h"
17 #import "chrome/browser/ui/cocoa/tabs/tab_controller_target.h" 17 #import "chrome/browser/ui/cocoa/tabs/tab_controller_target.h"
18 #import "chrome/browser/ui/cocoa/tabs/tab_view.h" 18 #import "chrome/browser/ui/cocoa/tabs/tab_view.h"
19 #import "chrome/browser/ui/cocoa/themed_window.h" 19 #import "chrome/browser/ui/cocoa/themed_window.h"
20 #import "extensions/common/extension.h" 20 #import "extensions/common/extension.h"
21 #include "grit/generated_resources.h"
22 #import "ui/base/cocoa/menu_controller.h" 21 #import "ui/base/cocoa/menu_controller.h"
23 22
24 @implementation TabController 23 @implementation TabController
25 24
26 @synthesize action = action_; 25 @synthesize action = action_;
27 @synthesize app = app_; 26 @synthesize app = app_;
28 @synthesize loadingState = loadingState_; 27 @synthesize loadingState = loadingState_;
29 @synthesize mini = mini_; 28 @synthesize mini = mini_;
30 @synthesize pinned = pinned_; 29 @synthesize pinned = pinned_;
31 @synthesize target = target_; 30 @synthesize target = target_;
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 // TabStripDragController. 427 // TabStripDragController.
429 - (BOOL)tabCanBeDragged:(TabController*)controller { 428 - (BOOL)tabCanBeDragged:(TabController*)controller {
430 return [[target_ dragController] tabCanBeDragged:controller]; 429 return [[target_ dragController] tabCanBeDragged:controller];
431 } 430 }
432 431
433 - (void)maybeStartDrag:(NSEvent*)event forTab:(TabController*)tab { 432 - (void)maybeStartDrag:(NSEvent*)event forTab:(TabController*)tab {
434 [[target_ dragController] maybeStartDrag:event forTab:tab]; 433 [[target_ dragController] maybeStartDrag:event forTab:tab];
435 } 434 }
436 435
437 @end 436 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/styled_text_field_cell.mm ('k') | chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698