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

Unified Diff: ui/touch_selection/touch_selection_controller_aura.h

Issue 829913004: WIP: Plumbing through text selection granularity control support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unified_text_selection_diff
Patch Set: Missing file. Created 5 years, 11 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 fa79740766537ef222a579545dc3a6e07b5db3c9..eaf999fb486b31cac4ab1d59221fee17cf00089f 100644
--- a/ui/touch_selection/touch_selection_controller_aura.h
+++ b/ui/touch_selection/touch_selection_controller_aura.h
@@ -24,7 +24,9 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionControllerAuraClient {
virtual ~TouchSelectionControllerAuraClient() {};
virtual void MoveCaret(const gfx::PointF& position) = 0;
- virtual void MoveRangeSelectionExtent(const gfx::PointF& extent) = 0;
+ virtual void MoveRangeSelectionExtent(
+ const gfx::PointF& extent,
+ ui::TextSelectionGranularity granularity) = 0;
virtual void SelectBetweenCoordinates(const gfx::PointF& base,
const gfx::PointF& extent) = 0;
virtual aura::Window* GetParentWindow() const = 0;
@@ -67,7 +69,9 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionControllerAura
bool SupportsAnimation() const override;
void SetNeedsAnimate() override;
void MoveCaret(const gfx::PointF& position) override;
- void MoveRangeSelectionExtent(const gfx::PointF& extent) override;
+ void MoveRangeSelectionExtent(
+ const gfx::PointF& extent,
+ ui::TextSelectionGranularity granularity) override;
void SelectBetweenCoordinates(const gfx::PointF& base,
const gfx::PointF& extent) override;
void OnSelectionEvent(SelectionEventType event,
« 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