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

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

Issue 2917343004: Move LoadHTMLString method from WebFrame to WebLocalFrame. (Closed)
Patch Set: 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
Index: third_party/WebKit/public/web/WebFrame.h
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h
index 47e76e1e694a666370e76a7be8cec9e3021199c0..42c4b086d50d14c01a99e49835117ce1aa35e4cc 100644
--- a/third_party/WebKit/public/web/WebFrame.h
+++ b/third_party/WebKit/public/web/WebFrame.h
@@ -57,7 +57,6 @@ class Visitor;
class WebAssociatedURLLoader;
struct WebAssociatedURLLoaderOptions;
class WebDOMEvent;
-class WebData;
class WebDataSource;
class WebDocument;
class WebElement;
@@ -305,13 +304,6 @@ class WebFrame {
// Load the given URL.
virtual void LoadRequest(const WebURLRequest&) = 0;
- // This method is short-hand for calling LoadData, where mime_type is
- // "text/html" and text_encoding is "UTF-8".
- virtual void LoadHTMLString(const WebData& html,
- const WebURL& base_url,
- const WebURL& unreachable_url = WebURL(),
- bool replace = false) = 0;
-
// Stops any pending loads on the frame and its children.
virtual void StopLoading() = 0;

Powered by Google App Engine
This is Rietveld 408576698