Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(708)

Unified Diff: content/browser/android/popup_touch_handle_drawable.cc

Issue 701823002: Separate out Touch Selection Orientation enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | content/browser/renderer_host/input/touch_handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/popup_touch_handle_drawable.cc
diff --git a/content/browser/android/popup_touch_handle_drawable.cc b/content/browser/android/popup_touch_handle_drawable.cc
index ac2f57bffc2d56241483fb2da171861d8a399239..ab152df4024dd51eceb9728d8c611a3a2d0292bb 100644
--- a/content/browser/android/popup_touch_handle_drawable.cc
+++ b/content/browser/android/popup_touch_handle_drawable.cc
@@ -32,15 +32,9 @@ void PopupTouchHandleDrawable::SetOrientation(
jobject obj = drawable_.obj();
switch (orientation) {
case TOUCH_HANDLE_LEFT:
jdduke (slow) 2014/11/04 16:21:50 No need for the switch here, let's just remove it
AviD 2014/11/04 18:24:32 Done.
- Java_PopupTouchHandleDrawable_setLeftOrientation(env, obj);
- break;
-
case TOUCH_HANDLE_RIGHT:
- Java_PopupTouchHandleDrawable_setRightOrientation(env, obj);
- break;
-
case TOUCH_HANDLE_CENTER:
- Java_PopupTouchHandleDrawable_setCenterOrientation(env, obj);
+ Java_PopupTouchHandleDrawable_setOrientation(env, obj, orientation);
break;
case TOUCH_HANDLE_ORIENTATION_UNDEFINED:
« no previous file with comments | « no previous file | content/browser/renderer_host/input/touch_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698