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

Unified Diff: chrome/browser/prerender/prerender_contents.cc

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
Index: chrome/browser/prerender/prerender_contents.cc
===================================================================
--- chrome/browser/prerender/prerender_contents.cc (revision 105162)
+++ chrome/browser/prerender/prerender_contents.cc (working copy)
@@ -319,10 +319,10 @@
DCHECK(load_start_time_.is_null());
load_start_time_ = base::TimeTicks::Now();
- PageTransition::Type transition = PageTransition::LINK;
+ content::PageTransition transition = content::PAGE_TRANSITION_LINK;
if (origin_ == ORIGIN_OMNIBOX_ORIGINAL ||
origin_ == ORIGIN_OMNIBOX_CONSERVATIVE) {
- transition = PageTransition::TYPED;
+ transition = content::PAGE_TRANSITION_TYPED;
}
new_contents->controller().LoadURL(prerender_url_, referrer_, transition,
std::string());
« no previous file with comments | « chrome/browser/prerender/prerender_browsertest.cc ('k') | chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698