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

Unified Diff: content/public/browser/navigation_controller.h

Issue 10544175: Add an ability to call WebKit's WebFrame::loadData via NavigationController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 8 years, 6 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/common/view_messages.h ('k') | content/public/browser/navigation_entry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/navigation_controller.h
diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h
index c9c1a01384a76cd56736af5fe1bc2e9e5c4ec4fd..0973884ffdd917296cff2639f65809ff5cf1032e 100644
--- a/content/public/browser/navigation_controller.h
+++ b/content/public/browser/navigation_controller.h
@@ -167,6 +167,14 @@ class NavigationController {
PageTransition type,
const std::string& extra_headers) = 0;
+ // Loads a 'data:' scheme URL with specified base URL and a history entry URL.
+ // This can only be used for browser-initiated navigations.
Charlie Reis 2012/06/19 17:17:25 Thanks. Now that I know a bit more, I think we ne
mnaganov (inactive) 2012/07/03 08:07:52 Done. Sorry, I was swamped by other tasks, now I'm
+ virtual void LoadDataWithBaseURL(const GURL& data_url,
+ const Referrer& referrer,
+ const GURL& base_url,
+ const GURL& history_url,
+ bool is_overriding_user_agent) = 0;
+
// Behaves like LoadURL() and LoadURLFromRenderer() but marks the new
// navigation as being transferred from one RVH to another. In this case the
// browser can recycle the old request once the new renderer wants to
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/browser/navigation_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698