Title: [89580] trunk/Source/WebKit2
Revision
89580
Author
carlo...@webkit.org
Date
2011-06-23 09:41:49 -0700 (Thu, 23 Jun 2011)

Log Message

2011-06-23  Carlos Garcia Campos  <cgar...@igalia.com>

        Reviewed by Martin Robinson.

        [UNIX] Fix compile warnings in NetscapePluginX11.cpp
        https://bugs.webkit.org/show_bug.cgi?id=63249

        * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
        (WebKit::setXButtonEventFields):
        (WebKit::NetscapePlugin::platformHandleMouseEvent):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (89579 => 89580)


--- trunk/Source/WebKit2/ChangeLog	2011-06-23 16:35:35 UTC (rev 89579)
+++ trunk/Source/WebKit2/ChangeLog	2011-06-23 16:41:49 UTC (rev 89580)
@@ -1,3 +1,14 @@
+2011-06-23  Carlos Garcia Campos  <cgar...@igalia.com>
+
+        Reviewed by Martin Robinson.
+
+        [UNIX] Fix compile warnings in NetscapePluginX11.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=63249
+
+        * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
+        (WebKit::setXButtonEventFields):
+        (WebKit::NetscapePlugin::platformHandleMouseEvent):
+
 2011-06-22  Carlos Garcia Campos  <cgar...@igalia.com>
 
         Reviewed by Martin Robinson.

Modified: trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp (89579 => 89580)


--- trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp	2011-06-23 16:35:35 UTC (rev 89579)
+++ trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp	2011-06-23 16:41:49 UTC (rev 89580)
@@ -359,6 +359,9 @@
     case WebMouseEvent::RightButton:
         xButton.button = Button3;
         break;
+    default:
+        ASSERT_NOT_REACHED();
+        break;
     }
 }
 
@@ -409,6 +412,23 @@
     case WebEvent::MouseMove:
         setXMotionEventFields(xEvent, event, m_frameRect.location());
         break;
+    case WebEvent::NoType:
+    case WebEvent::Wheel:
+    case WebEvent::KeyDown:
+    case WebEvent::KeyUp:
+    case WebEvent::RawKeyDown:
+    case WebEvent::Char:
+#if ENABLE(GESTURE_EVENTS)
+    case WebEvent::GestureScrollBegin:
+    case WebEvent::GestureScrollEnd:
+#endif
+#if ENABLE(TOUCH_EVENTS)
+    case WebEvent::TouchStart:
+    case WebEvent::TouchMove:
+    case WebEvent::TouchEnd:
+    case WebEvent::TouchCancel:
+#endif
+        return false;
     }
 
     return NPP_HandleEvent(&xEvent);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to