Reviewers: jgw, jlabanca,

Message:
LGTM



Please review this at http://gwt-code-reviews.appspot.com/33820

Affected files:
   M     user/src/com/google/gwt/event/dom/client/MouseWheelEvent.java


Index: user/src/com/google/gwt/event/dom/client/MouseWheelEvent.java
===================================================================
--- user/src/com/google/gwt/event/dom/client/MouseWheelEvent.java       
(revision  
5374)
+++ user/src/com/google/gwt/event/dom/client/MouseWheelEvent.java       
(working  
copy)
@@ -27,6 +27,15 @@
    private static final Type<MouseWheelHandler> TYPE = new  
Type<MouseWheelHandler>(
        "mousewheel", new MouseWheelEvent());

+  static {
+    /**
+     * Hidden type used to ensure DOMMouseScroll gets registered in the  
type map.
+     * This is the special name used on Mozilla browsers for what everyone  
else
+     * calls 'mousewheel'.
+     */
+    new Type<MouseWheelHandler>("DOMMouseScroll", new MouseWheelEvent());
+  }
+
    /**
     * Gets the event type associated with mouse wheel events.
     *



--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to