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

Unified Diff: ui/touch_selection/touch_selection_controller_aura.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
Index: ui/touch_selection/touch_selection_controller_aura.h
diff --git a/ui/touch_selection/touch_selection_controller_aura.h b/ui/touch_selection/touch_selection_controller_aura.h
index 5e1b3c9620a5bb68a6d4888a6f5ee078ed0105a0..540cf6491446d2bec35808da174432ef5b362925 100644
--- a/ui/touch_selection/touch_selection_controller_aura.h
+++ b/ui/touch_selection/touch_selection_controller_aura.h
@@ -42,9 +42,12 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionControllerAura
public EventHandler {
public:
explicit TouchSelectionControllerAura(
- TouchSelectionControllerAuraClient* client);
+ TouchSelectionControllerAuraClient* client,
+ TextSelectionGranularityStrategy selection_granularity_strategy);
~TouchSelectionControllerAura() override;
+ void SetVelocityStrategyParameters(int halfDecayMs, int threshold);
+
void OnSelectionEditable(bool editable);
void OnSelectionEmpty(bool empty);
void OnSelectionBoundsUpdated(const SelectionBound& start,
« no previous file with comments | « ui/touch_selection/touch_selection_controller.cc ('k') | ui/touch_selection/touch_selection_controller_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698