fixing the windows build
authoraliceli1 <aliceli1@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Sep 2006 22:23:34 +0000 (22:23 +0000)
committeraliceli1 <aliceli1@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Sep 2006 22:23:34 +0000 (22:23 +0000)
        * COM/WebView.cpp:
        (WebView::mouseMoved):
        (WebView::mouseDown):
        (WebView::mouseUp):
        (WebView::mouseDoubleClick):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16627 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/COM/WebView.cpp
WebKit/ChangeLog

index caf7df8271d4fcebb47a67ce21b2e4dfa38346c6..7d66d0eacb05ae423424f08189b8bd4f1307d2ba 100644 (file)
@@ -98,25 +98,25 @@ WebView* WebView::createInstance()
 
 void WebView::mouseMoved(WPARAM wParam, LPARAM lParam)
 {
-    PlatformMouseEvent mouseEvent(m_viewWindow, wParam, lParam, 0);
+    PlatformMouseEvent mouseEvent(m_viewWindow, wParam, lParam);
     m_mainFrame->impl()->view()->handleMouseMoveEvent(mouseEvent);
 }
 
 void WebView::mouseDown(WPARAM wParam, LPARAM lParam)
 {
-    PlatformMouseEvent mouseEvent(m_viewWindow, wParam, lParam, 1);
+    PlatformMouseEvent mouseEvent(m_viewWindow, wParam, lParam);
     m_mainFrame->impl()->view()->handleMousePressEvent(mouseEvent);
 }
 
 void WebView::mouseUp(WPARAM wParam, LPARAM lParam)
 {
-    PlatformMouseEvent mouseEvent(m_viewWindow, wParam, lParam, 1);
+    PlatformMouseEvent mouseEvent(m_viewWindow, wParam, lParam);
     m_mainFrame->impl()->view()->handleMouseReleaseEvent(mouseEvent);
 }
 
 void WebView::mouseDoubleClick(WPARAM wParam, LPARAM lParam)
 {
-    PlatformMouseEvent mouseEvent(m_viewWindow, wParam, lParam, 2);
+    PlatformMouseEvent mouseEvent(m_viewWindow, wParam, lParam);
     m_mainFrame->impl()->view()->handleMouseReleaseEvent(mouseEvent);
 }
 
index da08b949e2ec1ae337bdc5ce1029d79a8204e358..8034d248f1c95087b20ca2b093391269bad1108a 100644 (file)
@@ -1,3 +1,13 @@
+2006-09-28  Alice Liu  <alice.liu@apple.com>
+
+        fixing the windows build
+
+        * COM/WebView.cpp:
+        (WebView::mouseMoved):
+        (WebView::mouseDown):
+        (WebView::mouseUp):
+        (WebView::mouseDoubleClick):
+
 2006-09-27  Justin Garcia  <justin.garcia@apple.com>
 
         Reviewed by thatcher