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

Unified Diff: Source/core/dom/Event.h

Issue 22893051: Add support for BeforeUnloadEvent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/dom/Event.h
diff --git a/Source/core/dom/Event.h b/Source/core/dom/Event.h
index 7875b1e2386ba683ba61e4bf6fec75dd87d1d1bd..399597831bd2c4e2af89d29a9a5f5210e0dde2f6 100644
--- a/Source/core/dom/Event.h
+++ b/Source/core/dom/Event.h
@@ -112,9 +112,6 @@ public:
// IE Extensions
EventTarget* srcElement() const { return target(); } // MSIE extension - "the object that fired the event"
- bool returnValue() const { return !defaultPrevented(); }
- void setReturnValue(bool returnValue) { setDefaultPrevented(!returnValue); }
-
Clipboard* clipboardData() const { return isClipboardEvent() ? clipboard() : 0; }
virtual const AtomicString& interfaceName() const;
@@ -157,9 +154,6 @@ public:
EventPath& eventPath() { return m_eventPath; }
PassRefPtr<NodeList> path() const;
- virtual bool storesResultAsString() const;
- virtual void storeResult(const String&);
-
virtual Clipboard* clipboard() const { return 0; }
bool isBeingDispatched() const { return eventPhase(); }

Powered by Google App Engine
This is Rietveld 408576698