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

Unified Diff: content/shell/browser/shell.cc

Issue 2248873002: Convert WindowOpenDisposition to an enum class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | extensions/browser/app_window/app_web_contents_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell.cc
diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc
index 5c780ab03dcee51854168c6e31a87835f82b6259..a214d2a61a115dee8bce6f6fef68deda6a2b5185 100644
--- a/content/shell/browser/shell.cc
+++ b/content/shell/browser/shell.cc
@@ -313,7 +313,7 @@ gfx::NativeView Shell::GetContentView() {
WebContents* Shell::OpenURLFromTab(WebContents* source,
const OpenURLParams& params) {
// This implementation only handles CURRENT_TAB.
- if (params.disposition != CURRENT_TAB)
+ if (params.disposition != WindowOpenDisposition::CURRENT_TAB)
return nullptr;
NavigationController::LoadURLParams load_url_params(params.url);
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | extensions/browser/app_window/app_web_contents_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698