Commit df34bc78 authored by changwan@chromium.org's avatar changwan@chromium.org

[Android] Fix PEN event values

BUG=384803
NOTRY=true

Review URL: https://codereview.chromium.org/397873003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284152 0039d316-1c4b-4281-b951-d872f2087c98
parent 7b87e407
......@@ -112,11 +112,11 @@ public class ContentViewCore
// Length of the delay (in ms) before fading in handles after the last page movement.
private static final int TEXT_HANDLE_FADE_IN_DELAY = 300;
// These values are empirically obtained.
private static final int SPEN_ACTION_DOWN = 11;
private static final int SPEN_ACTION_UP = 12;
private static final int SPEN_ACTION_MOVE = 13;
private static final int SPEN_ACTION_CANCEL = 14;
// These values are obtained from Samsung.
private static final int SPEN_ACTION_DOWN = 211;
private static final int SPEN_ACTION_UP = 212;
private static final int SPEN_ACTION_MOVE = 213;
private static final int SPEN_ACTION_CANCEL = 214;
private static Boolean sIsSPenSupported;
// If the embedder adds a JavaScript interface object that contains an indirect reference to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment