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

Side by Side Diff: chrome/browser/ui/browser.cc

Issue 2653883005: Cleanup: Remove many unnecessary c/b/search and c/b/ui/search includes (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/browser_commands.cc » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "chrome/browser/ui/browser.h" 5 #include "chrome/browser/ui/browser.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <string> 10 #include <string>
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 #include "chrome/browser/ui/website_settings/chooser_bubble_delegate.h" 142 #include "chrome/browser/ui/website_settings/chooser_bubble_delegate.h"
143 #include "chrome/browser/ui/webui/signin/login_ui_service.h" 143 #include "chrome/browser/ui/webui/signin/login_ui_service.h"
144 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" 144 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h"
145 #include "chrome/browser/ui/window_sizer/window_sizer.h" 145 #include "chrome/browser/ui/window_sizer/window_sizer.h"
146 #include "chrome/browser/upgrade_detector.h" 146 #include "chrome/browser/upgrade_detector.h"
147 #include "chrome/common/chrome_constants.h" 147 #include "chrome/common/chrome_constants.h"
148 #include "chrome/common/chrome_switches.h" 148 #include "chrome/common/chrome_switches.h"
149 #include "chrome/common/custom_handlers/protocol_handler.h" 149 #include "chrome/common/custom_handlers/protocol_handler.h"
150 #include "chrome/common/pref_names.h" 150 #include "chrome/common/pref_names.h"
151 #include "chrome/common/profiling.h" 151 #include "chrome/common/profiling.h"
152 #include "chrome/common/search/search_types.h"
153 #include "chrome/common/url_constants.h" 152 #include "chrome/common/url_constants.h"
154 #include "chrome/grit/chromium_strings.h" 153 #include "chrome/grit/chromium_strings.h"
155 #include "chrome/grit/generated_resources.h" 154 #include "chrome/grit/generated_resources.h"
156 #include "chrome/grit/locale_settings.h" 155 #include "chrome/grit/locale_settings.h"
157 #include "components/bookmarks/browser/bookmark_model.h" 156 #include "components/bookmarks/browser/bookmark_model.h"
158 #include "components/bookmarks/browser/bookmark_utils.h" 157 #include "components/bookmarks/browser/bookmark_utils.h"
159 #include "components/bookmarks/common/bookmark_pref_names.h" 158 #include "components/bookmarks/common/bookmark_pref_names.h"
160 #include "components/browser_sync/profile_sync_service.h" 159 #include "components/browser_sync/profile_sync_service.h"
161 #include "components/bubble/bubble_controller.h" 160 #include "components/bubble/bubble_controller.h"
162 #include "components/content_settings/core/browser/host_content_settings_map.h" 161 #include "components/content_settings/core/browser/host_content_settings_map.h"
(...skipping 2456 matching lines...) Expand 10 before | Expand all | Expand 10 after
2619 // new window later, thus we need to navigate the window now. 2618 // new window later, thus we need to navigate the window now.
2620 if (contents) { 2619 if (contents) {
2621 contents->web_contents()->GetController().LoadURL( 2620 contents->web_contents()->GetController().LoadURL(
2622 target_url, content::Referrer(), ui::PAGE_TRANSITION_LINK, 2621 target_url, content::Referrer(), ui::PAGE_TRANSITION_LINK,
2623 std::string()); // No extra headers. 2622 std::string()); // No extra headers.
2624 } 2623 }
2625 } 2624 }
2626 2625
2627 return contents != NULL; 2626 return contents != NULL;
2628 } 2627 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698