Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: content/browser/renderer_host/input/

Issue 2054193002: Android mouse events shouldn't appear as TouchEvents (Closed) Base URL:
Patch Set: Fixed a test, etc. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/input/
diff --git a/content/browser/renderer_host/input/ b/content/browser/renderer_host/input/
index 5af89606c47af2a4c6a54a998d640ebcacf15cd1..a9bff878be73b352625bd65cd2eac7d23b2b8c31 100644
--- a/content/browser/renderer_host/input/
+++ b/content/browser/renderer_host/input/
@@ -89,6 +89,11 @@ bool StylusTextSelector::OnTouchEvent(const MotionEvent& event) {
case MotionEvent::ACTION_POINTER_DOWN:
case MotionEvent::ACTION_NONE:
+ case MotionEvent::ACTION_HOVER_ENTER:
+ case MotionEvent::ACTION_HOVER_EXIT:
+ case MotionEvent::ACTION_HOVER_MOVE:
+ case MotionEvent::ACTION_BUTTON_PRESS:
+ case MotionEvent::ACTION_BUTTON_RELEASE:

Powered by Google App Engine
This is Rietveld 408576698