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

Issue 492863002: mojo: Plumb through sufficient context to make real blink::WebInputEvents. (Closed)

Created:
6 years, 4 months ago by Elliot Glaysher
Modified:
6 years, 4 months ago
Reviewers:
sky
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, tdresser+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, darin (slow to review), ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

mojo: Plumb through sufficient context to make real blink::WebInputEvents. This adds members to mojo::Event that are needed to construct a blink::WebInputEvent, as well as the boilerplate to carry those members on a ui::KeyEvent object, because the events aren't sent directly from the native event source to html viewer, but pass through multiple systems. BUG=403514 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291301

Patch Set 1 #

Patch Set 2 : Fixes for unit tests and theoretical windows linking fixes. #

Patch Set 3 : Theoretical mac implementation. #

Patch Set 4 : Another shot at fixing mac. #

Patch Set 5 : Maybe this will fix mac? #

Patch Set 6 : Add stubs for android compilation. #

Patch Set 7 : Give up and add a KeyEvent::operator= because we defacto have to have it. :( #

Patch Set 8 : Patch minimization. #

Patch Set 9 : Fix ozone compile. #

Total comments: 6

Patch Set 10 : Use an extension struct. #

Patch Set 11 : Remove "blink" from a name #

Total comments: 3

Patch Set 12 : final sky nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+702 lines, -248 lines) Patch
M content/browser/renderer_host/web_input_event_aura.h View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/web_input_event_aura.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -50 lines 0 comments Download
M content/browser/renderer_host/web_input_event_aurax11.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -49 lines 0 comments Download
M mojo/mojo_services.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/html_viewer/blink_input_events_type_converters.cc View 2 chunks +128 lines, -132 lines 0 comments Download
M mojo/services/public/cpp/input_events/lib/input_events_type_converters.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +67 lines, -3 lines 0 comments Download
M mojo/services/public/interfaces/input_events/input_events.mojom View 1 2 3 4 5 6 7 8 9 2 chunks +30 lines, -0 lines 0 comments Download
A mojo/services/public/interfaces/input_events/input_key_codes.mojom View 1 chunk +188 lines, -0 lines 0 comments Download
M ui/events/cocoa/events_mac.mm View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download
M ui/events/event.h View 1 2 3 4 5 6 7 8 9 5 chunks +36 lines, -0 lines 0 comments Download
M ui/events/event.cc View 1 2 3 4 5 6 7 8 9 1 chunk +33 lines, -0 lines 0 comments Download
M ui/events/event_utils.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +31 lines, -10 lines 0 comments Download
M ui/events/event_utils.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +47 lines, -0 lines 0 comments Download
M ui/events/events_stub.cc View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
M ui/events/ozone/events_ozone.cc View 1 2 3 4 5 6 7 8 9 1 chunk +15 lines, -0 lines 0 comments Download
M ui/events/win/events_win.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M ui/events/x/events_x.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Elliot Glaysher
6 years, 4 months ago (2014-08-20 23:57:13 UTC) #1
sky
https://codereview.chromium.org/492863002/diff/160001/ui/events/event.cc File ui/events/event.cc (right): https://codereview.chromium.org/492863002/diff/160001/ui/events/event.cc#newcode598 ui/events/event.cc:598: extended_mojo_data_() { nit: remove as not needed (from all ...
6 years, 4 months ago (2014-08-21 15:44:42 UTC) #2
Elliot Glaysher
ptal
6 years, 4 months ago (2014-08-21 21:27:07 UTC) #3
sky
Nice, LGTM https://codereview.chromium.org/492863002/diff/200001/mojo/services/public/cpp/input_events/lib/input_events_type_converters.cc File mojo/services/public/cpp/input_events/lib/input_events_type_converters.cc (right): https://codereview.chromium.org/492863002/diff/200001/mojo/services/public/cpp/input_events/lib/input_events_type_converters.cc#newcode110 mojo/services/public/cpp/input_events/lib/input_events_type_converters.cc:110: virtual ExtendedKeyEventData* Clone() const OVERRIDE { Prefix ...
6 years, 4 months ago (2014-08-21 21:47:32 UTC) #4
Elliot Glaysher
The CQ bit was checked by erg@chromium.org
6 years, 4 months ago (2014-08-21 22:07:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/492863002/220001
6 years, 4 months ago (2014-08-21 22:12:33 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-21 23:21:10 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-21 23:29:02 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/8236)
6 years, 4 months ago (2014-08-21 23:29:03 UTC) #9
Elliot Glaysher
The CQ bit was checked by erg@chromium.org
6 years, 4 months ago (2014-08-22 00:27:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/492863002/220001
6 years, 4 months ago (2014-08-22 00:31:44 UTC) #11
commit-bot: I haz the power
6 years, 4 months ago (2014-08-22 01:33:59 UTC) #12
Message was sent while issue was closed.
Committed patchset #12 (220001) as 291301

Powered by Google App Engine
This is Rietveld 408576698