Index: public/web/WebFrame.h |
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h |
index 8ff1fe27f58c25b50c59dde30094250c64de3e40..9155e084f11488892c0f9a3825a98c742684e1ed 100644 |
--- a/public/web/WebFrame.h |
+++ b/public/web/WebFrame.h |
@@ -241,6 +241,13 @@ public: |
virtual WebPerformance performance() const = 0; |
+ // Closing ------------------------------------------------------------- |
+ |
+ // Runs beforeunload handlers for this frame, returning false if a |
+ // handler suppressed unloading. |
+ virtual bool dispatchBeforeUnloadEvent() = 0; |
+ |
+ |
// Scripting ---------------------------------------------------------- |
// Returns a NPObject corresponding to this frame's DOMWindow. |