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

Unified Diff: Source/core/dom/BeforeUnloadEvent.idl

Issue 22893051: Add support for BeforeUnloadEvent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix test failures Created 7 years, 4 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/core/dom/BeforeUnloadEvent.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/BeforeUnloadEvent.idl
diff --git a/Source/core/page/NavigatorOnLine.idl b/Source/core/dom/BeforeUnloadEvent.idl
similarity index 94%
copy from Source/core/page/NavigatorOnLine.idl
copy to Source/core/dom/BeforeUnloadEvent.idl
index db4b08c1e0f9b67062b25e1f1cbb3a17605af914..618d55809395c4d4e5fa4497739234945eea2e91 100644
--- a/Source/core/page/NavigatorOnLine.idl
+++ b/Source/core/dom/BeforeUnloadEvent.idl
@@ -28,8 +28,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- NoInterfaceObject
-] interface NavigatorOnLine {
- readonly attribute boolean onLine;
+interface BeforeUnloadEvent : Event {
+ attribute DOMString returnValue;
};
« no previous file with comments | « Source/core/dom/BeforeUnloadEvent.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698