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

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

Issue 2174663005: Add WebWidgetTestProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/WebWidget.h
diff --git a/third_party/WebKit/public/web/WebWidget.h b/third_party/WebKit/public/web/WebWidget.h
index bc0a6faeadee75a26c1916d92d571baf15aba835..fa3c4fab267f362e56a6e28ebf5a7e6cbe5b5d96 100644
--- a/third_party/WebKit/public/web/WebWidget.h
+++ b/third_party/WebKit/public/web/WebWidget.h
@@ -208,6 +208,10 @@ public:
// Returns true if the WebWidget created is of type WebView.
virtual bool isWebView() const { return false; }
+
+ // Returns true if the WebWidget created is of type WebFrameWidget.
+ virtual bool isWebFrameWidget() const { return false; }
Łukasz Anforowicz 2016/08/02 20:38:13 I think I am okay with having a new method to be u
lfg 2016/08/02 22:27:21 I'm not convinced that this would be bad.
Łukasz Anforowicz 2016/08/02 22:35:23 Okay - sgtm, if Blink owners approve.
+
// Returns true if the WebWidget created is of type WebPagePopup.
virtual bool isPagePopup() const { return false; }

Powered by Google App Engine
This is Rietveld 408576698