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

Unified Diff: content/browser/renderer_host/render_view_host.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: content/browser/renderer_host/render_view_host.cc
===================================================================
--- content/browser/renderer_host/render_view_host.cc (revision 105162)
+++ content/browser/renderer_host/render_view_host.cc (working copy)
@@ -257,7 +257,7 @@
params.current_history_list_offset = -1;
params.current_history_list_length = 0;
params.url = url;
- params.transition = PageTransition::LINK;
+ params.transition = content::PAGE_TRANSITION_LINK;
params.navigation_type = ViewMsg_Navigate_Type::NORMAL;
Navigate(params);
}
@@ -815,7 +815,7 @@
// to allow the pending navigation to continue.
if (is_waiting_for_beforeunload_ack_ &&
unload_ack_is_for_cross_site_transition_ &&
- PageTransition::IsMainFrame(validated_params.transition)) {
+ content::PageTransitionIsMainFrame(validated_params.transition)) {
OnMsgShouldCloseACK(true);
return;
}
« no previous file with comments | « content/browser/load_notification_details.h ('k') | content/browser/renderer_host/render_view_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698