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

Unified Diff: content/browser/frame_host/navigation_entry_impl.cc

Issue 378743002: Navigation transitions: Place transition page in same process as destination page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/frame_host/navigation_entry_impl.cc
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc
index b021d5eda18cea37a92d27924094752c5b77a5b7..3b03d00128d2fb15bb0f9084a7b2d44ef2e525da 100644
--- a/content/browser/frame_host/navigation_entry_impl.cc
+++ b/content/browser/frame_host/navigation_entry_impl.cc
@@ -302,6 +302,14 @@ bool NavigationEntryImpl::IsRestored() const {
return restore_type_ != RESTORE_NONE;
}
+void NavigationEntryImpl::SetVirtualURLForTransition(const GURL& url) {
+ virtual_url_for_transition = url;
+}
+
+const GURL& NavigationEntryImpl::GetVirtualURLForTransition() const {
+ return virtual_url_for_transition;
+}
+
void NavigationEntryImpl::SetCanLoadLocalResources(bool allow) {
can_load_local_resources_ = allow;
}

Powered by Google App Engine
This is Rietveld 408576698