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

Issue 1426993008: Serialize a subset of WebInputEvents to protobufs. (Closed)

Created:
5 years, 1 month ago by David Trainor- moved to gerrit
Modified:
5 years ago
CC:
chromium-reviews, dtrainor+watch-blimp_chromium.org, esprehn, haibinlu, kmarshall+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Serialize a subset of WebInputEvents to protobufs. - Add (de)serialization methods for WebGestureEvents (a subset of WebInputEvents). - Add unit tests to validate that moving to and from these events works properly. BUG=548806 Committed: https://crrev.com/6086a92c956e7bd81aa402b2e4dc4ec6a91c8585 Cr-Commit-Position: refs/heads/master@{#362089}

Patch Set 1 #

Patch Set 2 : Minor cleanup #

Patch Set 3 : Added some comments #

Patch Set 4 : Rebased #

Total comments: 16

Patch Set 5 : Addressed comments. #

Total comments: 5

Patch Set 6 : Fixed unittest file #

Patch Set 7 : Rebased #

Total comments: 2

Patch Set 8 : Split serialization and deserialization to message generators/processors. #

Total comments: 35

Patch Set 9 : Removed some gesture events, cleaned up a bit #

Patch Set 10 : Removed unused type enum #

Total comments: 27

Patch Set 11 : Addressed more comments #

Total comments: 2

Patch Set 12 : Updated comment. #

Patch Set 13 : Remove commented out old messages in input.proto #

Total comments: 4

Patch Set 14 : Addressed nits #

Patch Set 15 : Re-add fatal log. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+677 lines, -17 lines) Patch
M blimp/common/proto/input.proto View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +70 lines, -12 lines 0 comments Download
M blimp/net/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -0 lines 0 comments Download
M blimp/net/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M blimp/net/blimp_message_multiplexer_unittest.cc View 1 2 3 4 5 6 5 chunks +10 lines, -5 lines 0 comments Download
A blimp/net/input_message_generator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +43 lines, -0 lines 0 comments Download
A blimp/net/input_message_generator.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +195 lines, -0 lines 0 comments Download
A blimp/net/input_message_processor.h View 1 2 3 4 5 6 7 8 1 chunk +38 lines, -0 lines 0 comments Download
A blimp/net/input_message_processor.cc View 1 2 3 4 5 6 7 8 9 10 14 1 chunk +181 lines, -0 lines 0 comments Download
A blimp/net/input_message_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +133 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 58 (13 generated)
David Trainor- moved to gerrit
pdr@: Can I get an owners review for including third_party/WebKit/public in our DEPS? nyquist@/wez@/kmarshall@: Can ...
5 years, 1 month ago (2015-11-11 23:54:39 UTC) #2
Kevin M
https://codereview.chromium.org/1426993008/diff/60001/blimp/common/input/input_event_conversions.cc File blimp/common/input/input_event_conversions.cc (right): https://codereview.chromium.org/1426993008/diff/60001/blimp/common/input/input_event_conversions.cc#newcode17 blimp/common/input/input_event_conversions.cc:17: const InputMessage::Type& type) { No need to take a ...
5 years, 1 month ago (2015-11-12 00:53:50 UTC) #3
David Trainor- moved to gerrit
addressed comments. ptal thanks! https://chromiumcodereview.appspot.com/1426993008/diff/60001/blimp/common/input/input_event_conversions.cc File blimp/common/input/input_event_conversions.cc (right): https://chromiumcodereview.appspot.com/1426993008/diff/60001/blimp/common/input/input_event_conversions.cc#newcode17 blimp/common/input/input_event_conversions.cc:17: const InputMessage::Type& type) { On ...
5 years, 1 month ago (2015-11-12 16:34:28 UTC) #4
Kevin M
lgtm w/little nits https://chromiumcodereview.appspot.com/1426993008/diff/80001/blimp/common/input/input_event_conversions_unittest.cc File blimp/common/input/input_event_conversions_unittest.cc (right): https://chromiumcodereview.appspot.com/1426993008/diff/80001/blimp/common/input/input_event_conversions_unittest.cc#newcode67 blimp/common/input/input_event_conversions_unittest.cc:67: { Curly braces aren't needed since ...
5 years, 1 month ago (2015-11-12 21:20:05 UTC) #5
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/1426993008/diff/80001/blimp/common/input/input_event_conversions_unittest.cc File blimp/common/input/input_event_conversions_unittest.cc (right): https://chromiumcodereview.appspot.com/1426993008/diff/80001/blimp/common/input/input_event_conversions_unittest.cc#newcode67 blimp/common/input/input_event_conversions_unittest.cc:67: { On 2015/11/12 21:20:05, Kevin M wrote: > Curly ...
5 years, 1 month ago (2015-11-12 22:14:14 UTC) #6
Kevin M
lgtm
5 years, 1 month ago (2015-11-12 22:36:53 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1426993008/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1426993008/100001
5 years, 1 month ago (2015-11-14 00:06:31 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, no build URL)
5 years, 1 month ago (2015-11-14 00:32:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1426993008/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1426993008/120001
5 years, 1 month ago (2015-11-16 17:18:31 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/118916)
5 years, 1 month ago (2015-11-16 17:29:18 UTC) #16
David Trainor- moved to gerrit
Hi esprehn@! pdr@ recommended I get your review on this. Could you do an owners ...
5 years, 1 month ago (2015-11-16 19:20:06 UTC) #18
Wez
https://codereview.chromium.org/1426993008/diff/120001/blimp/common/input/input_event_conversions.h File blimp/common/input/input_event_conversions.h (right): https://codereview.chromium.org/1426993008/diff/120001/blimp/common/input/input_event_conversions.h#newcode21 blimp/common/input/input_event_conversions.h:21: InputMessage* proto); In general there won't be a 1:1 ...
5 years, 1 month ago (2015-11-16 21:25:48 UTC) #19
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/1426993008/diff/120001/blimp/common/input/input_event_conversions.h File blimp/common/input/input_event_conversions.h (right): https://chromiumcodereview.appspot.com/1426993008/diff/120001/blimp/common/input/input_event_conversions.h#newcode21 blimp/common/input/input_event_conversions.h:21: InputMessage* proto); On 2015/11/16 21:25:47, Wez wrote: > In ...
5 years, 1 month ago (2015-11-17 01:05:01 UTC) #20
David Trainor- moved to gerrit
wez@: Let me know if this is more along the lines of what you want. ...
5 years, 1 month ago (2015-11-17 01:31:33 UTC) #21
Wez
Yes, that's the sort of structure I have in mind, though see my note re ...
5 years, 1 month ago (2015-11-17 01:37:40 UTC) #22
esprehn
That deps seems okay I guess, but I think you want rbyers to tell you ...
5 years, 1 month ago (2015-11-17 01:43:14 UTC) #24
David Trainor- moved to gerrit
On 2015/11/17 01:43:14, esprehn wrote: > That deps seems okay I guess, but I think ...
5 years, 1 month ago (2015-11-17 05:32:44 UTC) #25
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/1426993008/diff/140001/blimp/net/input_message_generator.h File blimp/net/input_message_generator.h (right): https://chromiumcodereview.appspot.com/1426993008/diff/140001/blimp/net/input_message_generator.h#newcode26 blimp/net/input_message_generator.h:26: virtual ~InputMessageGenerator(); On 2015/11/17 01:37:40, Wez wrote: > nit: ...
5 years, 1 month ago (2015-11-17 05:33:14 UTC) #26
David Trainor- moved to gerrit
On 2015/11/17 05:32:44, David Trainor wrote: > On 2015/11/17 01:43:14, esprehn wrote: > > That ...
5 years, 1 month ago (2015-11-17 18:48:57 UTC) #27
David Trainor- moved to gerrit
rbyers@: Could I get an owners review for the DEPS change? Thanks! :)
5 years, 1 month ago (2015-11-17 21:10:03 UTC) #28
Wez
https://codereview.chromium.org/1426993008/diff/140001/blimp/common/proto/input.proto File blimp/common/proto/input.proto (right): https://codereview.chromium.org/1426993008/diff/140001/blimp/common/proto/input.proto#newcode8 blimp/common/proto/input.proto:8: // blink::WebInputEvent POD struct. nit: That's an implementation detail ...
5 years, 1 month ago (2015-11-18 02:18:32 UTC) #29
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/1426993008/diff/140001/blimp/common/proto/input.proto File blimp/common/proto/input.proto (right): https://chromiumcodereview.appspot.com/1426993008/diff/140001/blimp/common/proto/input.proto#newcode8 blimp/common/proto/input.proto:8: // blink::WebInputEvent POD struct. On 2015/11/18 02:18:32, Wez wrote: ...
5 years, 1 month ago (2015-11-18 08:26:30 UTC) #30
David Trainor- moved to gerrit
Thanks for the review Wez. I think this is ready for another round! ptal. https://chromiumcodereview.appspot.com/1426993008/diff/140001/blimp/common/proto/input.proto ...
5 years, 1 month ago (2015-11-19 00:49:43 UTC) #31
Rick Byers
On 2015/11/17 21:10:03, David Trainor wrote: > rbyers@: Could I get an owners review for ...
5 years, 1 month ago (2015-11-20 03:09:39 UTC) #32
Rick Byers
https://codereview.chromium.org/1426993008/diff/140001/blimp/common/proto/input.proto File blimp/common/proto/input.proto (right): https://codereview.chromium.org/1426993008/diff/140001/blimp/common/proto/input.proto#newcode40 blimp/common/proto/input.proto:40: message ShowPress { On 2015/11/19 00:49:43, David Trainor wrote: ...
5 years, 1 month ago (2015-11-20 03:12:53 UTC) #33
Rick Byers
[Sorry for the additional stuff, I initially did a quick skim to validate the DEPS, ...
5 years, 1 month ago (2015-11-20 03:17:55 UTC) #34
nyquist
lgtm
5 years, 1 month ago (2015-11-20 07:07:59 UTC) #35
David Trainor- moved to gerrit
On 2015/11/20 03:09:39, Rick Byers (slow until Nov 23) wrote: > On 2015/11/17 21:10:03, David ...
5 years, 1 month ago (2015-11-20 18:06:03 UTC) #36
David Trainor- moved to gerrit
On 2015/11/20 03:17:55, Rick Byers (slow until Nov 23) wrote: > [Sorry for the additional ...
5 years, 1 month ago (2015-11-20 18:07:25 UTC) #37
Wez
Apologies for the delay! https://codereview.chromium.org/1426993008/diff/140001/blimp/net/input_message_generator.h File blimp/net/input_message_generator.h (right): https://codereview.chromium.org/1426993008/diff/140001/blimp/net/input_message_generator.h#newcode31 blimp/net/input_message_generator.h:31: InputMessage* message); On 2015/11/19 at ...
5 years, 1 month ago (2015-11-23 22:41:41 UTC) #38
nyquist
https://codereview.chromium.org/1426993008/diff/180001/blimp/common/proto/input.proto File blimp/common/proto/input.proto (right): https://codereview.chromium.org/1426993008/diff/180001/blimp/common/proto/input.proto#newcode98 blimp/common/proto/input.proto:98: // started. On 2015/11/23 22:41:41, Wez wrote: > nit: ...
5 years ago (2015-11-24 08:12:43 UTC) #39
Rick Byers
On 2015/11/20 18:07:25, David Trainor wrote: > On 2015/11/20 03:17:55, Rick Byers (slow until Nov ...
5 years ago (2015-11-24 19:10:43 UTC) #41
tdresser
On 2015/11/24 19:10:43, Rick Byers wrote: > On 2015/11/20 18:07:25, David Trainor wrote: > > ...
5 years ago (2015-11-24 19:52:23 UTC) #42
David Trainor- moved to gerrit
On 2015/11/24 19:52:23, tdresser wrote: > On 2015/11/24 19:10:43, Rick Byers wrote: > > On ...
5 years ago (2015-11-24 20:08:13 UTC) #43
David Trainor- moved to gerrit
addressed more comments. ptal https://chromiumcodereview.appspot.com/1426993008/diff/180001/blimp/common/proto/input.proto File blimp/common/proto/input.proto (right): https://chromiumcodereview.appspot.com/1426993008/diff/180001/blimp/common/proto/input.proto#newcode18 blimp/common/proto/input.proto:18: message GestureBaseProperties { On 2015/11/23 ...
5 years ago (2015-11-24 20:08:28 UTC) #44
nyquist
lgtm https://codereview.chromium.org/1426993008/diff/180001/blimp/common/proto/input.proto File blimp/common/proto/input.proto (right): https://codereview.chromium.org/1426993008/diff/180001/blimp/common/proto/input.proto#newcode98 blimp/common/proto/input.proto:98: // started. On 2015/11/24 20:08:27, David Trainor wrote: ...
5 years ago (2015-11-24 20:33:28 UTC) #45
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/1426993008/diff/200001/blimp/common/proto/input.proto File blimp/common/proto/input.proto (right): https://chromiumcodereview.appspot.com/1426993008/diff/200001/blimp/common/proto/input.proto#newcode81 blimp/common/proto/input.proto:81: // This is based off of the client's SystemClock#uptimeMillis(). ...
5 years ago (2015-11-24 21:34:00 UTC) #46
David Trainor- moved to gerrit
On 2015/11/24 21:34:00, David Trainor wrote: > https://chromiumcodereview.appspot.com/1426993008/diff/200001/blimp/common/proto/input.proto > File blimp/common/proto/input.proto (right): > > https://chromiumcodereview.appspot.com/1426993008/diff/200001/blimp/common/proto/input.proto#newcode81 ...
5 years ago (2015-11-24 21:34:45 UTC) #47
Wez
Yup - will take a look! On 24 November 2015 at 13:34, <dtrainor@chromium.org> wrote: > ...
5 years ago (2015-11-24 22:16:55 UTC) #48
Wez
https://codereview.chromium.org/1426993008/diff/240001/blimp/net/input_message_generator.h File blimp/net/input_message_generator.h (right): https://codereview.chromium.org/1426993008/diff/240001/blimp/net/input_message_generator.h#newcode34 blimp/net/input_message_generator.h:34: // from previous messages. nit: You want the "This ...
5 years ago (2015-11-25 23:52:02 UTC) #49
Wez
lgtm
5 years ago (2015-11-25 23:53:45 UTC) #50
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/1426993008/diff/240001/blimp/net/input_message_generator.h File blimp/net/input_message_generator.h (right): https://chromiumcodereview.appspot.com/1426993008/diff/240001/blimp/net/input_message_generator.h#newcode34 blimp/net/input_message_generator.h:34: // from previous messages. On 2015/11/25 23:52:02, Wez wrote: ...
5 years ago (2015-11-30 04:29:26 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1426993008/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1426993008/280001
5 years ago (2015-11-30 04:29:59 UTC) #54
commit-bot: I haz the power
Committed patchset #15 (id:280001)
5 years ago (2015-11-30 05:03:47 UTC) #56
commit-bot: I haz the power
5 years ago (2015-11-30 05:04:42 UTC) #58
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/6086a92c956e7bd81aa402b2e4dc4ec6a91c8585
Cr-Commit-Position: refs/heads/master@{#362089}

Powered by Google App Engine
This is Rietveld 408576698