Title: [109823] trunk/Source/WebKit/chromium
- Revision
- 109823
- Author
- commit-qu...@webkit.org
- Date
- 2012-03-05 17:18:12 -0800 (Mon, 05 Mar 2012)
Log Message
Enable context menu on android
For android, long press is converted into a right mouse down event
So we will use that to invoke the context menu
https://bugs.webkit.org/show_bug.cgi?id=80332
Patch by Min Qin <qin...@google.com> on 2012-03-05
Reviewed by Adam Barth.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::mouseDown):
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (109822 => 109823)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-03-06 01:03:26 UTC (rev 109822)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-03-06 01:18:12 UTC (rev 109823)
@@ -1,3 +1,16 @@
+2012-03-05 Min Qin <qin...@google.com>
+
+ Enable context menu on android
+
+ For android, long press is converted into a right mouse down event
+ So we will use that to invoke the context menu
+ https://bugs.webkit.org/show_bug.cgi?id=80332
+
+ Reviewed by Adam Barth.
+
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::mouseDown):
+
2012-03-05 Kent Tamura <tk...@chromium.org>
[Chromium] Add new popup type: PagePopup
Modified: trunk/Source/WebKit/chromium/src/WebViewImpl.cpp (109822 => 109823)
--- trunk/Source/WebKit/chromium/src/WebViewImpl.cpp 2012-03-06 01:03:26 UTC (rev 109822)
+++ trunk/Source/WebKit/chromium/src/WebViewImpl.cpp 2012-03-06 01:18:12 UTC (rev 109823)
@@ -528,7 +528,7 @@
|| (event.button == WebMouseEvent::ButtonLeft
&& event.modifiers & WebMouseEvent::ControlKey))
mouseContextMenu(event);
-#elif OS(UNIX)
+#elif OS(UNIX) || OS(ANDROID)
if (event.button == WebMouseEvent::ButtonRight)
mouseContextMenu(event);
#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes