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

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

Issue 228393004: Create bookmarks component with names of bookmark preferences (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 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 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #include <shellapi.h> 9 #include <shellapi.h>
10 #endif // defined(OS_WIN) 10 #endif // defined(OS_WIN)
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 #include "chrome/browser/upgrade_detector.h" 142 #include "chrome/browser/upgrade_detector.h"
143 #include "chrome/browser/web_applications/web_app.h" 143 #include "chrome/browser/web_applications/web_app.h"
144 #include "chrome/common/chrome_constants.h" 144 #include "chrome/common/chrome_constants.h"
145 #include "chrome/common/chrome_switches.h" 145 #include "chrome/common/chrome_switches.h"
146 #include "chrome/common/custom_handlers/protocol_handler.h" 146 #include "chrome/common/custom_handlers/protocol_handler.h"
147 #include "chrome/common/net/url_fixer_upper.h" 147 #include "chrome/common/net/url_fixer_upper.h"
148 #include "chrome/common/pref_names.h" 148 #include "chrome/common/pref_names.h"
149 #include "chrome/common/profiling.h" 149 #include "chrome/common/profiling.h"
150 #include "chrome/common/search_types.h" 150 #include "chrome/common/search_types.h"
151 #include "chrome/common/url_constants.h" 151 #include "chrome/common/url_constants.h"
152 #include "components/bookmarks/bookmark_pref_names.h"
152 #include "components/startup_metric_utils/startup_metric_utils.h" 153 #include "components/startup_metric_utils/startup_metric_utils.h"
153 #include "components/web_modal/web_contents_modal_dialog_manager.h" 154 #include "components/web_modal/web_contents_modal_dialog_manager.h"
154 #include "content/public/browser/devtools_manager.h" 155 #include "content/public/browser/devtools_manager.h"
155 #include "content/public/browser/download_item.h" 156 #include "content/public/browser/download_item.h"
156 #include "content/public/browser/download_manager.h" 157 #include "content/public/browser/download_manager.h"
157 #include "content/public/browser/interstitial_page.h" 158 #include "content/public/browser/interstitial_page.h"
158 #include "content/public/browser/invalidate_type.h" 159 #include "content/public/browser/invalidate_type.h"
159 #include "content/public/browser/navigation_controller.h" 160 #include "content/public/browser/navigation_controller.h"
160 #include "content/public/browser/navigation_entry.h" 161 #include "content/public/browser/navigation_entry.h"
161 #include "content/public/browser/notification_details.h" 162 #include "content/public/browser/notification_details.h"
(...skipping 2201 matching lines...) Expand 10 before | Expand all | Expand 10 after
2363 if (contents && !allow_js_access) { 2364 if (contents && !allow_js_access) {
2364 contents->web_contents()->GetController().LoadURL( 2365 contents->web_contents()->GetController().LoadURL(
2365 target_url, 2366 target_url,
2366 content::Referrer(), 2367 content::Referrer(),
2367 content::PAGE_TRANSITION_LINK, 2368 content::PAGE_TRANSITION_LINK,
2368 std::string()); // No extra headers. 2369 std::string()); // No extra headers.
2369 } 2370 }
2370 2371
2371 return contents != NULL; 2372 return contents != NULL;
2372 } 2373 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698