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

Side by Side Diff: chrome/browser/ui/cocoa/toolbar/toolbar_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/toolbar/toolbar_controller.h" 5 #import "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/mac/bundle_locations.h" 9 #include "base/mac/bundle_locations.h"
10 #include "base/mac/mac_util.h" 10 #include "base/mac/mac_util.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #include "components/omnibox/autocomplete_match.h" 49 #include "components/omnibox/autocomplete_match.h"
50 #include "components/search_engines/template_url_service.h" 50 #include "components/search_engines/template_url_service.h"
51 #include "components/url_fixer/url_fixer.h" 51 #include "components/url_fixer/url_fixer.h"
52 #include "content/public/browser/web_contents.h" 52 #include "content/public/browser/web_contents.h"
53 #include "grit/chromium_strings.h" 53 #include "grit/chromium_strings.h"
54 #include "grit/generated_resources.h" 54 #include "grit/generated_resources.h"
55 #include "grit/theme_resources.h" 55 #include "grit/theme_resources.h"
56 #import "ui/base/cocoa/menu_controller.h" 56 #import "ui/base/cocoa/menu_controller.h"
57 #include "ui/base/l10n/l10n_util.h" 57 #include "ui/base/l10n/l10n_util.h"
58 #include "ui/base/l10n/l10n_util_mac.h" 58 #include "ui/base/l10n/l10n_util_mac.h"
59 #include "ui/base/resource/resource_bundle.h"
60 #include "ui/gfx/image/image.h" 59 #include "ui/gfx/image/image.h"
61 #include "ui/gfx/rect.h" 60 #include "ui/gfx/rect.h"
62 61
63 using content::OpenURLParams; 62 using content::OpenURLParams;
64 using content::Referrer; 63 using content::Referrer;
65 using content::WebContents; 64 using content::WebContents;
66 65
67 namespace { 66 namespace {
68 67
69 // Height of the toolbar in pixels when the bookmark bar is closed. 68 // Height of the toolbar in pixels when the bookmark bar is closed.
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 - (void)hideDropURLsIndicatorInView:(NSView*)view { 831 - (void)hideDropURLsIndicatorInView:(NSView*)view {
833 // Do nothing. 832 // Do nothing.
834 } 833 }
835 834
836 // (URLDropTargetController protocol) 835 // (URLDropTargetController protocol)
837 - (BOOL)isUnsupportedDropData:(id<NSDraggingInfo>)info { 836 - (BOOL)isUnsupportedDropData:(id<NSDraggingInfo>)info {
838 return drag_util::IsUnsupportedDropData(profile_, info); 837 return drag_util::IsUnsupportedDropData(profile_, info);
839 } 838 }
840 839
841 @end 840 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_controller.mm ('k') | chrome/browser/ui/cocoa/website_settings/split_block_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698