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

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

Issue 1341923002: Create a component for SSL error handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaning up for review Created 5 years, 3 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 #include "net/cookies/cookie_monster.h" 198 #include "net/cookies/cookie_monster.h"
199 #include "net/url_request/url_request_context.h" 199 #include "net/url_request/url_request_context.h"
200 #include "third_party/WebKit/public/web/WebWindowFeatures.h" 200 #include "third_party/WebKit/public/web/WebWindowFeatures.h"
201 #include "ui/base/l10n/l10n_util.h" 201 #include "ui/base/l10n/l10n_util.h"
202 #include "ui/base/window_open_disposition.h" 202 #include "ui/base/window_open_disposition.h"
203 #include "ui/gfx/geometry/point.h" 203 #include "ui/gfx/geometry/point.h"
204 #include "ui/shell_dialogs/selected_file_info.h" 204 #include "ui/shell_dialogs/selected_file_info.h"
205 205
206 #if defined(OS_WIN) 206 #if defined(OS_WIN)
207 #include "base/win/metro.h" 207 #include "base/win/metro.h"
208 #include "chrome/browser/ssl/ssl_error_info.h"
209 #include "chrome/browser/task_manager/task_manager.h" 208 #include "chrome/browser/task_manager/task_manager.h"
210 #include "chrome/browser/ui/view_ids.h" 209 #include "chrome/browser/ui/view_ids.h"
211 #include "components/autofill/core/browser/autofill_ie_toolbar_import_win.h" 210 #include "components/autofill/core/browser/autofill_ie_toolbar_import_win.h"
212 #include "components/browser_watcher/exit_funnel_win.h" 211 #include "components/browser_watcher/exit_funnel_win.h"
213 #include "ui/base/touch/touch_device.h" 212 #include "ui/base/touch/touch_device.h"
214 #include "ui/base/win/shell.h" 213 #include "ui/base/win/shell.h"
215 #endif // OS_WIN 214 #endif // OS_WIN
216 215
217 #if defined(OS_CHROMEOS) 216 #if defined(OS_CHROMEOS)
218 #include "chrome/browser/chromeos/fileapi/external_file_url_util.h" 217 #include "chrome/browser/chromeos/fileapi/external_file_url_util.h"
(...skipping 2451 matching lines...) Expand 10 before | Expand all | Expand 10 after
2670 if (contents && !allow_js_access) { 2669 if (contents && !allow_js_access) {
2671 contents->web_contents()->GetController().LoadURL( 2670 contents->web_contents()->GetController().LoadURL(
2672 target_url, 2671 target_url,
2673 content::Referrer(), 2672 content::Referrer(),
2674 ui::PAGE_TRANSITION_LINK, 2673 ui::PAGE_TRANSITION_LINK,
2675 std::string()); // No extra headers. 2674 std::string()); // No extra headers.
2676 } 2675 }
2677 2676
2678 return contents != NULL; 2677 return contents != NULL;
2679 } 2678 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698