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

Unified Diff: content/public/browser/page_navigator.cc

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/page_navigator.h ('k') | content/public/browser/resource_request_info.h » ('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 dc9b3c53aaa27082f337e6f3cf709ca66187d177..f585501e9e46eb050e30313fa5dd5bb9420ea1c1 100644
--- a/content/public/browser/page_navigator.cc
+++ b/content/public/browser/page_navigator.cc
@@ -10,7 +10,7 @@ OpenURLParams::OpenURLParams(
const GURL& url,
const Referrer& referrer,
WindowOpenDisposition disposition,
- PageTransition transition,
+ ui::PageTransition transition,
bool is_renderer_initiated)
: url(url),
referrer(referrer),
@@ -28,7 +28,7 @@ OpenURLParams::OpenURLParams(
const Referrer& referrer,
int64 frame_tree_node_id,
WindowOpenDisposition disposition,
- PageTransition transition,
+ ui::PageTransition transition,
bool is_renderer_initiated)
: url(url),
referrer(referrer),
@@ -45,7 +45,7 @@ OpenURLParams::OpenURLParams()
: uses_post(false),
frame_tree_node_id(-1),
disposition(UNKNOWN),
- transition(PageTransitionFromInt(0)),
+ transition(ui::PAGE_TRANSITION_LINK),
is_renderer_initiated(false),
should_replace_current_entry(false),
user_gesture(true) {
« no previous file with comments | « content/public/browser/page_navigator.h ('k') | content/public/browser/resource_request_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698