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

Side by Side Diff: third_party/WebKit/public/platform/WebPointerProperties.h

Issue 2639623002: Fixed Android text selection by redefining |button| value. (Closed)
Patch Set: Fixed WebPointerProperties comment. Created 3 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 unified diff | Download patch
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebPointerProperties_h 5 #ifndef WebPointerProperties_h
6 #define WebPointerProperties_h 6 #define WebPointerProperties_h
7 7
8 #include <cstdint> 8 #include <cstdint>
9 #include <limits> 9 #include <limits>
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // The normalized tangential pressure (or barrel pressure), typically set by 73 // The normalized tangential pressure (or barrel pressure), typically set by
74 // an additional control of the stylus, which has a range of [-1,1], where 0 74 // an additional control of the stylus, which has a range of [-1,1], where 0
75 // is the neutral position of the control. Always 0 if the device does not 75 // is the neutral position of the control. Always 0 if the device does not
76 // support it. 76 // support it.
77 float tangentialPressure; 77 float tangentialPressure;
78 78
79 // The clockwise rotation of a pen stylus around its own major axis, in 79 // The clockwise rotation of a pen stylus around its own major axis, in
80 // degrees in the range [0,359]. Always 0 if the device does not support it. 80 // degrees in the range [0,359]. Always 0 if the device does not support it.
81 int twist; 81 int twist;
82 82
83 // - For pointerup/down events, the button of pointing device that triggered
84 // the event.
85 // - For other events, the button that was depressed during the move event. If
86 // multiple buttons were depressed, one of the depressed buttons (platform
87 // dependent).
83 Button button; 88 Button button;
89
84 PointerType pointerType; 90 PointerType pointerType;
85 91
86 int movementX; 92 int movementX;
87 int movementY; 93 int movementY;
88 }; 94 };
89 95
90 } // namespace blink 96 } // namespace blink
91 97
92 #endif 98 #endif
OLDNEW
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698