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

Unified Diff: third_party/WebKit/public/web/WebLocalFrame.h

Issue 2918403003: Move [Provisional]DataSource accessors/methods from WebFrame to WebLocalFrame. (Closed)
Patch Set: Added a TODO comment for user agent overrides - https://crbug.com/426555 Created 3 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 | « third_party/WebKit/public/web/WebFrame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index e768600fd6366332fb1e07ce54872a1e17e1e57a..06118a8007c071d3c42e8f34cbaa6613fe853e9e 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -26,6 +26,7 @@ class InterfaceRegistry;
class WebAutofillClient;
class WebContentSettingsClient;
class WebData;
+class WebDataSource;
class WebDevToolsAgent;
class WebDevToolsAgentClient;
class WebDoubleSize;
@@ -178,6 +179,12 @@ class WebLocalFrame : public WebFrame {
WebHistoryLoadType = kWebHistoryDifferentDocumentLoad,
bool is_client_redirect = false) = 0;
+ // Returns the data source that is currently loading. May be null.
+ virtual WebDataSource* ProvisionalDataSource() const = 0;
+
+ // Returns the data source that is currently loaded.
+ virtual WebDataSource* DataSource() const = 0;
+
enum FallbackContentResult {
// An error page should be shown instead of fallback.
NoFallbackContent,
« no previous file with comments | « third_party/WebKit/public/web/WebFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698