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

Unified Diff: content/browser/renderer_host/input/gesture_text_selector.h

Issue 590483002: Check if Button is pressed for changing selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated as per review and unittests updated Created 6 years, 2 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: content/browser/renderer_host/input/gesture_text_selector.h
diff --git a/content/browser/renderer_host/input/gesture_text_selector.h b/content/browser/renderer_host/input/gesture_text_selector.h
index 4853dfe1c21693bb4d594bb44d749647b9b82dd7..14b27e7a278e081f1c272eeb465920eae8ea8e29 100644
--- a/content/browser/renderer_host/input/gesture_text_selector.h
+++ b/content/browser/renderer_host/input/gesture_text_selector.h
@@ -59,6 +59,9 @@ class CONTENT_EXPORT GestureTextSelector : public ui::SimpleGestureListener {
GestureTextSelectorClient* client_;
bool text_selection_triggered_;
+ bool secondary_button_pressed_;
+ int anchor_x_;
jdduke (slow) 2014/10/10 14:37:33 These should be floats.
AviD 2014/10/10 16:06:11 Done.
+ int anchor_y_;
scoped_ptr<ui::GestureDetector> gesture_detector_;
DISALLOW_COPY_AND_ASSIGN(GestureTextSelector);

Powered by Google App Engine
This is Rietveld 408576698