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

Unified Diff: ui/base/touch/touch_editing_controller.h

Issue 13817012: Add method to TouchSelectionController to check if a handle is currently being (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 7 years, 8 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/base/touch/touch_editing_controller.h
diff --git a/ui/base/touch/touch_editing_controller.h b/ui/base/touch/touch_editing_controller.h
index 69484d2d63ef65b39687a9334d9e5c146e95f2b9..72376b21a4439d915a48f5290785166825076d5d 100644
--- a/ui/base/touch/touch_editing_controller.h
+++ b/ui/base/touch/touch_editing_controller.h
@@ -67,6 +67,9 @@ class UI_EXPORT TouchSelectionController {
// Notifies the controller that the selection has changed.
virtual void SelectionChanged() = 0;
+
+ // Returns true if the user is currently dragging one of the handles.
+ virtual bool IsHandleDragInProgress() = 0;
};
class UI_EXPORT TouchSelectionControllerFactory {
« no previous file with comments | « no previous file | ui/views/touchui/touch_selection_controller_impl.h » ('j') | ui/views/touchui/touch_selection_controller_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698