for the Objective-C bindings. If it is found that isHorizontal
is not used, we should remove it again but also remove it's
declaration from PublicDOMInterfaces.h
* dom/WheelEvent.h:
(WebCore::WheelEvent::isHorizontal):
* dom/WheelEvent.idl:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16468
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-09-20 Sam Weinig <sam.weinig@gmail.com>
+
+ Build Fix. Adds isHorizontal attribute back to WheelEvent
+ for the Objective-C bindings. If it is found that isHorizontal
+ is not used, we should remove it again but also remove it's
+ declaration from PublicDOMInterfaces.h
+
+ * dom/WheelEvent.h:
+ (WebCore::WheelEvent::isHorizontal):
+ * dom/WheelEvent.idl:
+
2006-09-20 David Hyatt <hyatt@apple.com>
Fix for 10945, WheelEvent should support two dimensions at once, since
int wheelDeltaX() const { return m_wheelDeltaX; }
int wheelDeltaY() const { return m_wheelDeltaY; }
+ // Needed for Objective-C legacy support
+ bool isHorizontal() const { return m_wheelDeltaX; }
+
private:
virtual bool isWheelEvent() const;
readonly attribute long x;
readonly attribute long y;
+#if defined(LANGUAGE_OBJECTIVE_C)
+ readonly attribute boolean isHorizontal;
+#endif /* defined(LANGUAGE_OBJECTIVE_C) */
+
#if !defined(LANGUAGE_JAVASCRIPT)
void initWheelEvent(in long wheelDeltaX,
in long wheelDeltaY,
in boolean altKey,
in boolean shiftKey,
in boolean metaKey);
-#endif
+#endif /* !defined(LANGUAGE_JAVASCRIPT) */
};
}