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

Unified Diff: public/web/WebView.h

Issue 223603005: Expose WebView::setOpenedByDOM. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 6 years, 8 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 | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebView.h
diff --git a/public/web/WebView.h b/public/web/WebView.h
index 7c9a0d1228f953201958385705f2c07530f8d730..2f3a15841cfec724ea93684551f494ead804c723 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -147,6 +147,10 @@ public:
// WebWindowFeatures are ignored.
virtual void setWindowFeatures(const WebWindowFeatures&) = 0;
+ // Marks the WebView as being opened by a DOM call. This is relevant
+ // for whether window.close() may be called.
+ virtual void setOpenedByDOM() = 0;
+
// Frames --------------------------------------------------------------
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698