From 7b17bd00c3b044e9e01d01c8bfb589a5e99e99e5 Mon Sep 17 00:00:00 2001 From: "varunjain@chromium.org" Date: Fri, 19 Apr 2013 08:49:21 +0000 Subject: Add method to TouchSelectionController to check if a handle is currently being dragged. Also fixes some handle positioning bugs. BUG=none Review URL: https://chromiumcodereview.appspot.com/13817012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195110 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/base/touch/touch_editing_controller.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui/base/touch') diff --git a/ui/base/touch/touch_editing_controller.h b/ui/base/touch/touch_editing_controller.h index 69484d2..72376b2 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 { -- cgit v1.1