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: ui/touch_selection/touch_handle.h

Issue 903143003: wip: Touch Text Selection Prototypes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@selection_granularity_on_unified
Patch Set: Created 5 years, 10 months 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 | « ui/touch_selection/selection_granularity.h ('k') | ui/touch_selection/touch_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/touch_selection/touch_handle.h
diff --git a/ui/touch_selection/touch_handle.h b/ui/touch_selection/touch_handle.h
index eaca7caa92e05a6eb583bba368006c2dde40da88..b4cfd6569efee32e82c04e8fb243cb169a494358 100644
--- a/ui/touch_selection/touch_handle.h
+++ b/ui/touch_selection/touch_handle.h
@@ -41,9 +41,11 @@ class UI_TOUCH_SELECTION_EXPORT TouchHandleDrawable {
class UI_TOUCH_SELECTION_EXPORT TouchHandleClient {
public:
virtual ~TouchHandleClient() {}
- virtual void OnHandleDragBegin(const TouchHandle& handle) = 0;
+ virtual void OnHandleDragBegin(const TouchHandle& handle,
+ base::TimeTicks event_time) = 0;
virtual void OnHandleDragUpdate(const TouchHandle& handle,
- const gfx::PointF& new_position) = 0;
+ const gfx::PointF& new_position,
+ base::TimeTicks event_time) = 0;
virtual void OnHandleDragEnd(const TouchHandle& handle) = 0;
virtual void OnHandleTapped(const TouchHandle& handle) = 0;
virtual void SetNeedsAnimate() = 0;
@@ -97,7 +99,7 @@ class UI_TOUCH_SELECTION_EXPORT TouchHandle {
private:
friend class TouchSelectionControllerAuraTest;
- void BeginDrag();
+ void BeginDrag(base::TimeTicks event_time);
void EndDrag();
void BeginFade();
void EndFade();
« no previous file with comments | « ui/touch_selection/selection_granularity.h ('k') | ui/touch_selection/touch_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698