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

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

Issue 1918183004: Switch the inheritance of WebView from WebWidget to protected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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/Source/web/WebViewImpl.h ('k') | third_party/WebKit/public/web/WebView.h » ('j') | 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 88eaf2778114cb69cc7b48044b0c466e8a986725..1b47bdfa652ead547059ffba359dc912d5970c47 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -18,6 +18,7 @@ class WebFrameClient;
class WebNode;
class WebScriptExecutionCallback;
class WebSuspendableTask;
+class WebWidget;
enum class WebAppBannerPromptReply;
enum class WebCachePolicy;
enum class WebSandboxFlags;
@@ -316,6 +317,10 @@ public:
// Returns the node that the context menu opened over.
virtual WebNode contextMenuNode() const = 0;
+ // Returns the WebFrameWidget associated with this frame if there is one or
+ // nullptr otherwise.
+ virtual WebWidget* frameWidget() const = 0;
+
protected:
explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { }
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | third_party/WebKit/public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698