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

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

Issue 138033014: Consistent fading behavior for touch editing handles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/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 a48a045fc26c7babe47b51c59293ca9ccde4d93c..8be931720f29243978ba608543d02ed71f6bc1cf 100644
--- a/ui/base/touch/touch_editing_controller.h
+++ b/ui/base/touch/touch_editing_controller.h
@@ -74,6 +74,10 @@ class UI_BASE_EXPORT TouchSelectionController {
// Returns true if the user is currently dragging one of the handles.
virtual bool IsHandleDragInProgress() = 0;
+
+ // Hides visible handles. According to the value of |quick|, handles might
+ // fade out quickly or slowly.
+ virtual void HideHandles(bool quick) = 0;
};
class UI_BASE_EXPORT TouchSelectionControllerFactory {

Powered by Google App Engine
This is Rietveld 408576698