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 -------------------------------------------------------------- |