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

Unified Diff: content/browser/android/composited_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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/android/composited_touch_handle_drawable.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/composited_touch_handle_drawable.h
diff --git a/content/browser/android/composited_touch_handle_drawable.h b/content/browser/android/composited_touch_handle_drawable.h
index 68c2a32e978c3a6e4ce9afa88d9d29d931a76b72..3f31d77cbe0ebfb7661c34d1e086864531562eaa 100644
--- a/content/browser/android/composited_touch_handle_drawable.h
+++ b/content/browser/android/composited_touch_handle_drawable.h
@@ -5,7 +5,7 @@
#ifndef CONTENT_BROWSER_ANDROID_COMPOSITED_TOUCH_HANDLE_DRAWABLE_H_
#define CONTENT_BROWSER_ANDROID_COMPOSITED_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"
#include "cc/layers/ui_resource_layer.h"
@@ -13,16 +13,16 @@
namespace content {
// Touch handle drawable implementation backed by a cc layer.
-class CompositedTouchHandleDrawable : public TouchHandleDrawable {
+class CompositedTouchHandleDrawable : public ui::TouchHandleDrawable {
public:
CompositedTouchHandleDrawable(cc::Layer* root_layer,
float dpi_scale,
jobject context);
virtual ~CompositedTouchHandleDrawable();
- // 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;
@@ -34,7 +34,7 @@ class CompositedTouchHandleDrawable : public TouchHandleDrawable {
gfx::RectF BoundingRect() const;
const float dpi_scale_;
- TouchHandleOrientation orientation_;
+ ui::TouchHandleOrientation orientation_;
gfx::PointF focal_position_;
gfx::Vector2dF focal_offset_from_origin_;
scoped_refptr<cc::UIResourceLayer> layer_;
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/android/composited_touch_handle_drawable.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698