Commit b1f0fbe5 authored by aliceli1's avatar aliceli1

fixing the windows build

        * COM/WebView.cpp:
        (WebView::mouseMoved):
        (WebView::mouseDown):
        (WebView::mouseUp):
        (WebView::mouseDoubleClick):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0da5e09a
......@@ -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);
}
......
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment