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

Issue 2040733002: Implement LatencyInfo StructTraits (Closed)

Created:
4 years, 6 months ago by Fady Samuel
Modified:
4 years, 6 months ago
Reviewers:
Tom Sepez, sadrul, yzshen1
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, tdresser+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement LatencyInfo StructTraits This CL implements LatencyInfo mojom types, and associated StructTraits for serialization and deserialization. This will be used by cc::CompositorFrameMetadata and ultimately cc::CompositorFrame serialization/deserialization over mojo. BUG=611802 Committed: https://crrev.com/6b3ec8379d9e19ec9a379cba96f3e40569328961 Cr-Commit-Position: refs/heads/master@{#398211}

Patch Set 1 #

Patch Set 2 : LatencyInfoId #

Patch Set 3 : InputCoordinate #

Patch Set 4 : Fix formatting #

Patch Set 5 : Cleanup #

Patch Set 6 : Test passes! Need to cleanup and optimize #

Patch Set 7 : Moved impls to cc file #

Patch Set 8 : Use ArrayTraits for InputCoordinates #

Total comments: 18

Patch Set 9 : Addressed comments #

Total comments: 2

Patch Set 10 : Fix #

Patch Set 11 : Hopefully better fix for windows #

Patch Set 12 : Rebase #

Patch Set 13 : Make InputCoordinateArray::size a size_t #

Patch Set 14 : Make Windows happier #

Unified diffs Side-by-side diffs Delta from patch set Stats (+819 lines, -4 lines) Patch
M mojo/common/common_custom_types.typemap View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/events/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -1 line 0 comments Download
M ui/events/DEPS View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M ui/events/latency_info.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +9 lines, -1 line 0 comments Download
M ui/events/mojo/BUILD.gn View 2 chunks +23 lines, -0 lines 0 comments Download
M ui/events/mojo/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A ui/events/mojo/latency_info.mojom View 1 2 3 4 5 6 7 8 1 chunk +125 lines, -0 lines 0 comments Download
A ui/events/mojo/latency_info.typemap View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
A ui/events/mojo/latency_info_struct_traits.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +90 lines, -0 lines 0 comments Download
A ui/events/mojo/latency_info_struct_traits.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +369 lines, -0 lines 0 comments Download
A ui/events/mojo/struct_traits_unittest.cc View 1 2 3 4 5 1 chunk +141 lines, -0 lines 0 comments Download
A ui/events/mojo/traits_test_service.mojom View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
M ui/events/mojo/typemaps.gni View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 41 (20 generated)
Fady Samuel
+sadrul@ for ui/ OWNER +tsepez@ for ipc +yzshen@ for feedback on StructTraits. Thanks all!
4 years, 6 months ago (2016-06-05 19:05:30 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040733002/140001
4 years, 6 months ago (2016-06-05 19:05:56 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-05 20:22:33 UTC) #8
yzshen1
https://codereview.chromium.org/2040733002/diff/140001/ui/events/mojo/latency_info.mojom File ui/events/mojo/latency_info.mojom (right): https://codereview.chromium.org/2040733002/diff/140001/ui/events/mojo/latency_info.mojom#newcode119 ui/events/mojo/latency_info.mojom:119: uint32 input_coordinates_size; this seems unnecessary because that information is ...
4 years, 6 months ago (2016-06-06 16:15:22 UTC) #9
sadrul
https://codereview.chromium.org/2040733002/diff/140001/ui/events/BUILD.gn File ui/events/BUILD.gn (right): https://codereview.chromium.org/2040733002/diff/140001/ui/events/BUILD.gn#newcode371 ui/events/BUILD.gn:371: "run_all_unittests.cc", Perhaps instead of adding a new run_all_unittests.cc here, ...
4 years, 6 months ago (2016-06-06 16:20:14 UTC) #10
Fady Samuel
PTAL Yuzhu, Sadrul! https://codereview.chromium.org/2040733002/diff/140001/ui/events/BUILD.gn File ui/events/BUILD.gn (right): https://codereview.chromium.org/2040733002/diff/140001/ui/events/BUILD.gn#newcode371 ui/events/BUILD.gn:371: "run_all_unittests.cc", On 2016/06/06 16:20:13, sadrul wrote: ...
4 years, 6 months ago (2016-06-06 18:00:23 UTC) #11
Tom Sepez
lgtm
4 years, 6 months ago (2016-06-06 18:08:38 UTC) #12
sadrul
lgtm https://codereview.chromium.org/2040733002/diff/160001/ui/events/BUILD.gn File ui/events/BUILD.gn (right): https://codereview.chromium.org/2040733002/diff/160001/ui/events/BUILD.gn#newcode405 ui/events/BUILD.gn:405: "//mojo/public/cpp/bindings", You might not need these anymore?
4 years, 6 months ago (2016-06-06 18:56:03 UTC) #13
yzshen1
The Traits implementation LGTM
4 years, 6 months ago (2016-06-06 19:38:29 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040733002/160001
4 years, 6 months ago (2016-06-06 19:45:12 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/234115)
4 years, 6 months ago (2016-06-06 21:01:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040733002/200001
4 years, 6 months ago (2016-06-06 21:23:33 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/148691)
4 years, 6 months ago (2016-06-06 21:36:50 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040733002/200001
4 years, 6 months ago (2016-06-06 22:04:18 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/148721)
4 years, 6 months ago (2016-06-06 22:21:05 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040733002/220001
4 years, 6 months ago (2016-06-06 22:24:59 UTC) #30
Fady Samuel
CQ'ed. https://codereview.chromium.org/2040733002/diff/160001/ui/events/BUILD.gn File ui/events/BUILD.gn (right): https://codereview.chromium.org/2040733002/diff/160001/ui/events/BUILD.gn#newcode405 ui/events/BUILD.gn:405: "//mojo/public/cpp/bindings", On 2016/06/06 18:56:03, sadrul wrote: > You ...
4 years, 6 months ago (2016-06-06 22:35:13 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040733002/240001
4 years, 6 months ago (2016-06-06 23:17:49 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040733002/260001
4 years, 6 months ago (2016-06-07 00:16:41 UTC) #37
commit-bot: I haz the power
Committed patchset #14 (id:260001)
4 years, 6 months ago (2016-06-07 02:56:00 UTC) #39
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 02:59:13 UTC) #41
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/6b3ec8379d9e19ec9a379cba96f3e40569328961
Cr-Commit-Position: refs/heads/master@{#398211}

Powered by Google App Engine
This is Rietveld 408576698