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

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

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Split a DCHECK in two as suggested by boliu@. 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 0e48d6863fec65cc668c62f2614dc2e3c8fbb10a..e8798beb7f77b18f8bc9d03c4429653f2a823879 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -32,6 +32,7 @@ class WebData;
class WebDataSource;
class WebDevToolsAgent;
class WebDevToolsAgentClient;
+class WebDocument;
class WebDoubleSize;
class WebDOMEvent;
class WebFrameClient;
@@ -137,6 +138,8 @@ class WebLocalFrame : public WebFrame {
// URLs
virtual WebVector<WebIconURL> IconURLs(int icon_types_mask) const = 0;
+ virtual WebDocument GetDocument() const = 0;
+
// Hierarchy ----------------------------------------------------------
// Get the highest-level LocalFrame in this frame's in-process subtree.
« 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