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

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

Issue 759433002: Reland: Move TouchSelectionController from content to ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Excluded ui/touch_selection from Windows GN build Created 6 years 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/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 d4df077ab6981a4ec2ccc7012938f1eccb2d4f77..42b7d7ad9912e5775e6ed1a18e561d02b5f91a37 100644
--- a/content/browser/android/popup_touch_handle_drawable.cc
+++ b/content/browser/android/popup_touch_handle_drawable.cc
@@ -30,23 +30,23 @@ void PopupTouchHandleDrawable::SetEnabled(bool enabled) {
}
void PopupTouchHandleDrawable::SetOrientation(
- TouchHandleOrientation orientation) {
+ ui::TouchHandleOrientation orientation) {
JNIEnv* env = base::android::AttachCurrentThread();
jobject obj = drawable_.obj();
switch (orientation) {
- case TOUCH_HANDLE_LEFT:
+ case ui::TOUCH_HANDLE_LEFT:
Java_PopupTouchHandleDrawable_setLeftOrientation(env, obj);
break;
- case TOUCH_HANDLE_RIGHT:
+ case ui::TOUCH_HANDLE_RIGHT:
Java_PopupTouchHandleDrawable_setRightOrientation(env, obj);
break;
- case TOUCH_HANDLE_CENTER:
+ case ui::TOUCH_HANDLE_CENTER:
Java_PopupTouchHandleDrawable_setCenterOrientation(env, obj);
break;
- case TOUCH_HANDLE_ORIENTATION_UNDEFINED:
+ case ui::TOUCH_HANDLE_ORIENTATION_UNDEFINED:
NOTREACHED() << "Invalid touch handle orientation.";
};
}
« no previous file with comments | « content/browser/android/popup_touch_handle_drawable.h ('k') | content/browser/renderer_host/input/selection_event_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698