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

Unified Diff: content/public/browser/page_navigator.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/browser/webui/generic_handler.cc ('k') | content/public/browser/web_contents_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/page_navigator.cc
diff --git a/content/public/browser/page_navigator.cc b/content/public/browser/page_navigator.cc
index 40225e1aae83ae8da639505a4c8cec658d2e8757..e8a61bbfb6d683cc8afe82210979a44f5561dc2e 100644
--- a/content/public/browser/page_navigator.cc
+++ b/content/public/browser/page_navigator.cc
@@ -44,12 +44,11 @@ OpenURLParams::OpenURLParams(
OpenURLParams::OpenURLParams()
: uses_post(false),
frame_tree_node_id(-1),
- disposition(UNKNOWN),
+ disposition(WindowOpenDisposition::UNKNOWN),
transition(ui::PAGE_TRANSITION_LINK),
is_renderer_initiated(false),
should_replace_current_entry(false),
- user_gesture(true) {
-}
+ user_gesture(true) {}
OpenURLParams::OpenURLParams(const OpenURLParams& other) = default;
« no previous file with comments | « content/browser/webui/generic_handler.cc ('k') | content/public/browser/web_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698