summaryrefslogtreecommitdiffstats
path: root/ui/base/touch
diff options
context:
space:
mode:
authorvarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-19 08:49:21 +0000
committervarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-19 08:49:21 +0000
commit7b17bd00c3b044e9e01d01c8bfb589a5e99e99e5 (patch)
tree1c67e27e3cb1150ad80315ef6cf385e28da28d39 /ui/base/touch
parentd936677a24d0a18fc35935a999b066496f9a6ec7 (diff)
downloadchromium_src-7b17bd00c3b044e9e01d01c8bfb589a5e99e99e5.zip
chromium_src-7b17bd00c3b044e9e01d01c8bfb589a5e99e99e5.tar.gz
chromium_src-7b17bd00c3b044e9e01d01c8bfb589a5e99e99e5.tar.bz2
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
Diffstat (limited to 'ui/base/touch')
-rw-r--r--ui/base/touch/touch_editing_controller.h3
1 files changed, 3 insertions, 0 deletions
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 {