summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/dom/EventListener.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/dom/EventListener.h')
-rw-r--r--src/3rdparty/webkit/WebCore/dom/EventListener.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/3rdparty/webkit/WebCore/dom/EventListener.h b/src/3rdparty/webkit/WebCore/dom/EventListener.h
index 501c61d..6862f06 100644
--- a/src/3rdparty/webkit/WebCore/dom/EventListener.h
+++ b/src/3rdparty/webkit/WebCore/dom/EventListener.h
@@ -37,13 +37,14 @@ namespace WebCore {
public:
enum Type { JSEventListenerType,
ImageEventListenerType,
- InspectorDOMAgentType,
+ InspectorDOMAgentType,
+ InspectorDOMStorageResourceType,
ObjCEventListenerType,
ConditionEventListenerType };
virtual ~EventListener() { }
virtual bool operator==(const EventListener&) = 0;
- virtual void handleEvent(Event*, bool isWindowEvent = false) = 0;
+ virtual void handleEvent(Event*) = 0;
// Return true to indicate that the error is handled.
virtual bool reportError(const String& /*message*/, const String& /*url*/, int /*lineNumber*/) { return false; }
virtual bool wasCreatedFromMarkup() const { return false; }
@@ -68,10 +69,6 @@ namespace WebCore {
Type m_type;
};
-#if USE(JSC)
- inline void markIfNotNull(JSC::MarkStack& markStack, EventListener* listener) { if (listener) listener->markJSFunction(markStack); }
-#endif
-
}
#endif