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

Unified Diff: content/public/common/frame_navigate_params.h

Issue 8584010: Adding base URL to the frame committed message. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced and disabled test (to figure-out EOL madness) Created 9 years, 1 month 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/common/view_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/frame_navigate_params.h
diff --git a/content/public/common/frame_navigate_params.h b/content/public/common/frame_navigate_params.h
index a776bf0982fab7345c8b664a37647863261867bb..ea08b26bdf083e6d8a7c40b780c6f0ce90cf3754 100644
--- a/content/public/common/frame_navigate_params.h
+++ b/content/public/common/frame_navigate_params.h
@@ -31,6 +31,13 @@ struct CONTENT_EXPORT FrameNavigateParams {
// URL of the page being loaded.
GURL url;
+ // The base URL for the page's document when the frame was committed. Empty if
+ // similar to 'url' above. Note that any base element in the page has not been
+ // parsed yet and is therefore not reflected.
+ // This is of interest when a MHTML file is loaded, as the base URL has been
+ // set to original URL of the site the MHTML represents.
+ GURL base_url;
+
// URL of the referrer of this load. WebKit generates this based on the
// source of the event that caused the load.
GURL referrer;
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698