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

Issue 10532148: Adding java TouchPoint class for android (Closed)

Created:
8 years, 6 months ago by qinmin
Modified:
8 years, 6 months ago
Reviewers:
John Grabowski, Yaron, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jochen+watch-content_chromium.org
Visibility:
Public.

Description

Adding java TouchPoint class for android Upstream the java TouchPoint class before we upstream all the touch related stuff for chrome on android. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142835

Patch Set 1 #

Patch Set 2 : Adding native side and JNI binding code #

Total comments: 4

Patch Set 3 : add namespace for newly upstreamed code #

Total comments: 5

Patch Set 4 : adding class comment #

Patch Set 5 : rebase with some gyp file changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -0 lines) Patch
M content/app/android/content_jni_registrar.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
A content/browser/android/touch_point.h View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
A content/browser/android/touch_point.cc View 1 2 1 chunk +108 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_jni.gypi View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
A content/public/android/java/org/chromium/content/browser/TouchPoint.java View 1 chunk +144 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
qinmin
8 years, 6 months ago (2012-06-14 20:05:43 UTC) #1
Yaron
Why upstream this without its native counterpart and JNI binding? Does that have too many ...
8 years, 6 months ago (2012-06-14 20:13:06 UTC) #2
John Grabowski
In general we're trying to upstream code that is somehow exercisable. Yes, this code will ...
8 years, 6 months ago (2012-06-14 20:49:10 UTC) #3
qinmin
Ok, upstreamed the code for native side and JNI biding. RegisterConstants() should get called when ...
8 years, 6 months ago (2012-06-14 21:25:38 UTC) #4
Yaron
Deferring to jrg on whether to submit http://codereview.chromium.org/10532148/diff/4001/content/browser/android/touch_point.cc File content/browser/android/touch_point.cc (right): http://codereview.chromium.org/10532148/diff/4001/content/browser/android/touch_point.cc#newcode16 content/browser/android/touch_point.cc:16: void MaybeAddTouchPoint(JNIEnv* ...
8 years, 6 months ago (2012-06-14 21:56:27 UTC) #5
qinmin
http://codereview.chromium.org/10532148/diff/4001/content/browser/android/touch_point.cc File content/browser/android/touch_point.cc (right): http://codereview.chromium.org/10532148/diff/4001/content/browser/android/touch_point.cc#newcode16 content/browser/android/touch_point.cc:16: void MaybeAddTouchPoint(JNIEnv* env, jobject pt, WebKit::WebTouchEvent& event) { On ...
8 years, 6 months ago (2012-06-14 22:20:58 UTC) #6
qinmin
8 years, 6 months ago (2012-06-14 22:20:58 UTC) #7
John Grabowski
Brief questions. After that I'm happy to have this land. Thanks for hooking this up! ...
8 years, 6 months ago (2012-06-14 23:48:10 UTC) #8
qinmin
http://codereview.chromium.org/10532148/diff/9001/content/browser/android/touch_point.h File content/browser/android/touch_point.h (right): http://codereview.chromium.org/10532148/diff/9001/content/browser/android/touch_point.h#newcode9 content/browser/android/touch_point.h:9: #include <jni.h> According to Ted, the answer is yes. ...
8 years, 6 months ago (2012-06-15 00:14:02 UTC) #9
qinmin
add jam for content OWNER review
8 years, 6 months ago (2012-06-15 16:07:50 UTC) #10
jam
On 2012/06/15 16:07:50, qinmin wrote: > add jam for content OWNER review lgtm (just looked ...
8 years, 6 months ago (2012-06-15 16:19:05 UTC) #11
John Grabowski
http://codereview.chromium.org/10532148/diff/9001/content/browser/android/touch_point.h File content/browser/android/touch_point.h (right): http://codereview.chromium.org/10532148/diff/9001/content/browser/android/touch_point.h#newcode9 content/browser/android/touch_point.h:9: #include <jni.h> On 2012/06/15 00:14:02, qinmin wrote: > According ...
8 years, 6 months ago (2012-06-18 18:37:29 UTC) #12
qinmin
Sorry, some misunderstandings here. Content shell itself will not use touch point, it is just ...
8 years, 6 months ago (2012-06-18 18:40:22 UTC) #13
John Grabowski
LGTM
8 years, 6 months ago (2012-06-18 18:41:23 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qinmin@chromium.org/10532148/11001
8 years, 6 months ago (2012-06-18 18:53:28 UTC) #15
commit-bot: I haz the power
Failed to apply patch for content/app/android/content_jni_registrar.cc: While running patch -p1 --forward --force; patching file content/app/android/content_jni_registrar.cc ...
8 years, 6 months ago (2012-06-18 18:53:30 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qinmin@chromium.org/10532148/19001
8 years, 6 months ago (2012-06-18 20:04:43 UTC) #17
commit-bot: I haz the power
Try job failure for 10532148-19001 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 6 months ago (2012-06-18 20:54:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qinmin@chromium.org/10532148/19001
8 years, 6 months ago (2012-06-18 21:21:04 UTC) #19
commit-bot: I haz the power
8 years, 6 months ago (2012-06-18 22:32:44 UTC) #20
Change committed as 142835

Powered by Google App Engine
This is Rietveld 408576698