Title: [103409] trunk/Source/WebKit2
Revision
103409
Author
[email protected]
Date
2011-12-21 08:24:52 -0800 (Wed, 21 Dec 2011)

Log Message

Windows build fix.

Replace all instances of "WebPropupMenuProxy" with "WebPopupMenuProxy".

* UIProcess/win/WebPopupMenuProxyWin.cpp:
(WebKit::WebPopupMenuProxyWin::showPopupMenu):
(WebKit::WebPopupMenuProxyWin::setFocusedIndex):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (103408 => 103409)


--- trunk/Source/WebKit2/ChangeLog	2011-12-21 15:48:44 UTC (rev 103408)
+++ trunk/Source/WebKit2/ChangeLog	2011-12-21 16:24:52 UTC (rev 103409)
@@ -1,3 +1,13 @@
+2011-12-21  Jessie Berlin  <[email protected]>
+
+        Windows build fix.
+
+        Replace all instances of "WebPropupMenuProxy" with "WebPopupMenuProxy".
+
+        * UIProcess/win/WebPopupMenuProxyWin.cpp:
+        (WebKit::WebPopupMenuProxyWin::showPopupMenu):
+        (WebKit::WebPopupMenuProxyWin::setFocusedIndex):
+
 2011-12-20  Anders Carlsson  <[email protected]>
 
         Add ScrollableArea::contentsResized and have it call the scroll animator

Modified: trunk/Source/WebKit2/UIProcess/win/WebPopupMenuProxyWin.cpp (103408 => 103409)


--- trunk/Source/WebKit2/UIProcess/win/WebPopupMenuProxyWin.cpp	2011-12-21 15:48:44 UTC (rev 103408)
+++ trunk/Source/WebKit2/UIProcess/win/WebPopupMenuProxyWin.cpp	2011-12-21 16:24:52 UTC (rev 103409)
@@ -325,10 +325,10 @@
     m_showPopup = false;
     ::ShowWindow(m_popup, SW_HIDE);
 
-    if (!WebPropupMenuProxy::m_client)
+    if (!WebPopupMenuProxy::m_client)
         return;
 
-    WebPropupMenuProxy::m_client->valueChangedForPopupMenu(this, m_newSelectedIndex);
+    WebPopupMenuProxy::m_client->valueChangedForPopupMenu(this, m_newSelectedIndex);
 
     // <https://bugs.webkit.org/show_bug.cgi?id=57904> In order to properly call the onClick()
     // handler on a <select> element, we need to fake a mouse up event in the main window.
@@ -338,10 +338,10 @@
     // Thus, we are virtually clicking at the
     // same location where the mouse down event occurred. This allows the hit test to select
     // the correct element, and thereby call the onClick() JS handler.
-    if (!WebPropupMenuProxy::m_client->currentlyProcessedMouseDownEvent())
+    if (!WebPopupMenuProxy::m_client->currentlyProcessedMouseDownEvent())
         return;
         
-    const MSG* initiatingWinEvent = WebPropupMenuProxy::m_client->currentlyProcessedMouseDownEvent()->nativeEvent();
+    const MSG* initiatingWinEvent = WebPopupMenuProxy::m_client->currentlyProcessedMouseDownEvent()->nativeEvent();
     MSG fakeEvent = *initiatingWinEvent;
     fakeEvent.message = WM_LBUTTONUP;
     ::PostMessage(fakeEvent.hwnd, fakeEvent.message, fakeEvent.wParam, fakeEvent.lParam);
@@ -870,8 +870,8 @@
     m_focusedIndex = i;
 
     if (!hotTracking) {
-        if (WebPropupMenuProxy::m_client)
-            WebPropupMenuProxy::m_client->setTextFromItemForPopupMenu(this, i);
+        if (WebPopupMenuProxy::m_client)
+            WebPopupMenuProxy::m_client->setTextFromItemForPopupMenu(this, i);
     }
 
     if (!scrollToRevealSelection())
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to