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

Unified Diff: ui/views/touchui/touch_selection_controller_impl.h

Issue 895903003: Adding UMA logging to touch text selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed duration's min to 500ms instead of 1000ms Created 5 years, 10 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/views/touchui/touch_selection_controller_impl.h
diff --git a/ui/views/touchui/touch_selection_controller_impl.h b/ui/views/touchui/touch_selection_controller_impl.h
index a59747da529daec06850f33d345059dbad98df9d..d7bad8086409bdce71af20a603f06e7aa3d38835 100644
--- a/ui/views/touchui/touch_selection_controller_impl.h
+++ b/ui/views/touchui/touch_selection_controller_impl.h
@@ -120,6 +120,8 @@ class VIEWS_EXPORT TouchSelectionControllerImpl
scoped_ptr<EditingHandleView> selection_handle_2_;
scoped_ptr<EditingHandleView> cursor_handle_;
TouchEditingMenuView* context_menu_;
+ bool command_executed_;
+ base::TimeTicks selection_start_time_;
// Timer to trigger |context_menu| (|context_menu| is not shown if the
// selection handles are being updated. It appears only when the handles are
« no previous file with comments | « ui/touch_selection/touch_selection_controller.cc ('k') | ui/views/touchui/touch_selection_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698