Bug 1259660 - Clean up WidgetMouseEventBase draft
authorRaphael <raphael.cojocaru@yahoo.com>
Sat, 15 Oct 2016 11:08:49 +0300
changeset 425624 ba452260cc7a371bc6b2e66e36f60871de5e15ed
parent 425623 953acd2ea33825509861f1455871e0e4bc2a309e
child 425625 feb9f833288e784f544d9898c902c49f4ee36026
push id32475
push userbmo:raphael.cojocaru@yahoo.com
push dateSat, 15 Oct 2016 08:09:24 +0000
bugs1259660
milestone52.0a1
Bug 1259660 - Clean up WidgetMouseEventBase MozReview-Commit-ID: tjyDTBmwvN
widget/MouseEvents.h
--- a/widget/MouseEvents.h
+++ b/widget/MouseEvents.h
@@ -99,16 +99,17 @@ public:
   virtual WidgetEvent* Duplicate() const override
   {
     MOZ_CRASH("WidgetMouseEventBase must not be most-subclass");
   }
 
   /// The possible related target
   nsCOMPtr<nsISupports> relatedTarget;
 
+  // Defined ButtonTypeType as an int16_t.
   typedef int16_t ButtonTypeType;
   enum ButtonType : ButtonTypeType
   {
     eLeftButton   = 0,
     eMiddleButton = 1,
     eRightButton  = 2
   };
   // Pressed button ID of mousedown or mouseup event.