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

Issue 63493002: Wires up MotionEvents for mojo_shell_apk on Android. (Closed)

Created:
7 years, 1 month ago by Ben Goodger (Google)
Modified:
7 years, 1 month ago
Reviewers:
abarth-chromium
CC:
chromium-reviews, Aaron Boodman, darin (slow to review), viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

Wires up MotionEvents for mojo_shell_apk on Android. Receive Touch and Trackball events from our MojoViewport View and send them via NativeViewport to sample_app. Note that I do not support multiple touchpoints right now. This is something I can easily add later but decided to start here. BUG= R=abarth@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233716

Patch Set 1 : #

Total comments: 4

Patch Set 2 : review comments #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -0 lines) Patch
M mojo/services/native_viewport/android/mojo_viewport.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/services/native_viewport/android/mojo_viewport.cc View 1 3 chunks +33 lines, -0 lines 0 comments Download
M mojo/services/native_viewport/android/src/org/chromium/mojo/MojoViewport.java View 1 2 chunks +15 lines, -0 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_android.h View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_android.cc View 1 2 3 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Ben Goodger (Google)
Pending of course a real interface to do something more interesting than printf. https://codereview.chromium.org/63493002/diff/40001/mojo/services/native_viewport/android/mojo_viewport.cc File ...
7 years, 1 month ago (2013-11-07 00:20:38 UTC) #1
abarth-chromium
https://codereview.chromium.org/63493002/diff/40001/mojo/services/native_viewport/android/mojo_viewport.cc File mojo/services/native_viewport/android/mojo_viewport.cc (right): https://codereview.chromium.org/63493002/diff/40001/mojo/services/native_viewport/android/mojo_viewport.cc#newcode17 mojo/services/native_viewport/android/mojo_viewport.cc:17: const int ACTION_DOWN = 0; On 2013/11/07 00:20:38, Ben ...
7 years, 1 month ago (2013-11-07 00:29:11 UTC) #2
Ben Goodger (Google)
On Wed, Nov 6, 2013 at 4:29 PM, <abarth@chromium.org> wrote: > > https://codereview.chromium.org/63493002/diff/40001/mojo/ > services/native_viewport/android/mojo_viewport.cc ...
7 years, 1 month ago (2013-11-07 01:04:35 UTC) #3
Ben Goodger (Google)
On Wed, Nov 6, 2013 at 4:29 PM, <abarth@chromium.org> wrote: > > https://codereview.chromium.org/63493002/diff/40001/mojo/ > services/native_viewport/android/mojo_viewport.cc ...
7 years, 1 month ago (2013-11-07 01:05:24 UTC) #4
Ben Goodger (Google)
OK I updated this. Trackball events turn out to be slightly different from mouse events, ...
7 years, 1 month ago (2013-11-07 22:14:48 UTC) #5
abarth-chromium
lgtm
7 years, 1 month ago (2013-11-07 22:17:01 UTC) #6
Ben Goodger (Google)
7 years, 1 month ago (2013-11-08 00:15:46 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r233716 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698