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

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

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Addressed CR feedback from alexmos@. 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/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index cc4d81868b2930e33a3ea69ea2858cb9512624a3..234a996d10103ef1304e83ef8ac2803497ecf184 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.
« extensions/renderer/script_context.cc ('K') | « 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