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

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

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.h
diff --git a/content/browser/android/popup_touch_handle_drawable.h b/content/browser/android/popup_touch_handle_drawable.h
index 512a957c1059a19a34d7d6356c2cada2324ec4df..a991cac619b08446b97ee5a9eabad47fd41c30ad 100644
--- a/content/browser/android/popup_touch_handle_drawable.h
+++ b/content/browser/android/popup_touch_handle_drawable.h
@@ -5,22 +5,22 @@
#ifndef CONTENT_BROWSER_ANDROID_POPUP_TOUCH_HANDLE_DRAWABLE_H_
#define CONTENT_BROWSER_ANDROID_POPUP_TOUCH_HANDLE_DRAWABLE_H_
-#include "content/browser/renderer_host/input/touch_handle.h"
+#include "ui/touch_selection/touch_handle.h"
#include "base/android/jni_android.h"
namespace content {
// Touch handle drawable backed by an Android PopupWindow.
-class PopupTouchHandleDrawable : public TouchHandleDrawable {
+class PopupTouchHandleDrawable : public ui::TouchHandleDrawable {
public:
PopupTouchHandleDrawable(base::android::ScopedJavaLocalRef<jobject> drawable,
float dpi_scale);
virtual ~PopupTouchHandleDrawable();
- // TouchHandleDrawable implementation.
+ // ui::TouchHandleDrawable implementation.
virtual void SetEnabled(bool enabled) override;
- virtual void SetOrientation(TouchHandleOrientation orientation) override;
+ virtual void SetOrientation(ui::TouchHandleOrientation orientation) override;
virtual void SetAlpha(float alpha) override;
virtual void SetFocus(const gfx::PointF& position) override;
virtual bool IntersectsWith(const gfx::RectF& rect) const override;
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/android/popup_touch_handle_drawable.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698