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

Issue 2123613002: Add a mojom/StructTrait for display::Display. (Closed)

Created:
4 years, 5 months ago by kylechar
Modified:
4 years, 5 months ago
Reviewers:
Tom Sepez, sky
CC:
chromium-reviews, rjkroege, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, tfarina, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, kalyank, 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

Add a mojom/StructTrait for display::Display. There is currently a mojom that mostly corresponds to display::Display and a corresponding TypeConverter. However, the existing mojom has some extra information that is mus specific. In the future ui.mojom.Display will be modified to contain a display.mojom.Display to avoid duplication. This CL only adds the new mojom, StructTrait and unit tests to ensure StructTrait works correctly. The new mojom and StructTrait will be needed for the DisplayController Mojo interface to allow display configuration to happen. Unit tests will be added to trybots in a follow-up CL. BUG=612242 Committed: https://crrev.com/97a62c38c3f2d818c24190d3495853c3de8c7273 Cr-Commit-Position: refs/heads/master@{#406319}

Patch Set 1 #

Patch Set 2 : Fix iOS. #

Patch Set 3 : Fix comments. #

Total comments: 2

Patch Set 4 : Move implementation. #

Patch Set 5 : Fixes. #

Patch Set 6 : Move unit test target. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+351 lines, -7 lines) Patch
M mojo/public/tools/bindings/chromium_bindings_configuration.gni View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/public/interfaces/BUILD.gn View 1 2 3 4 5 2 chunks +17 lines, -0 lines 0 comments Download
A + services/ui/public/interfaces/display/BUILD.gn View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
A + services/ui/public/interfaces/display/OWNERS View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A services/ui/public/interfaces/display/display.mojom View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
A services/ui/public/interfaces/display/display.typemap View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
A services/ui/public/interfaces/display/display_struct_traits.h View 1 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
A services/ui/public/interfaces/display/display_struct_traits.cc View 1 2 3 4 1 chunk +107 lines, -0 lines 0 comments Download
A + services/ui/public/interfaces/display/display_struct_traits_test.mojom View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
A services/ui/public/interfaces/display/display_struct_traits_unittest.cc View 1 2 3 1 chunk +82 lines, -0 lines 0 comments Download
A + services/ui/public/interfaces/display/typemaps.gni View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/display/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M ui/display/display.h View 2 chunks +14 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (11 generated)
kylechar
+sky for basically everything. I needs security/mojo reviewers after.
4 years, 5 months ago (2016-07-05 18:41:04 UTC) #4
sky
Also, if you really want a separate namespace I would be inclined to still keep ...
4 years, 5 months ago (2016-07-06 16:40:34 UTC) #5
kylechar
With the regards to the namespace, I was just mirroring the the namespace used for ...
4 years, 5 months ago (2016-07-06 17:19:20 UTC) #6
sky
On Wed, Jul 6, 2016 at 10:19 AM, <kylechar@chromium.org> wrote: > With the regards to ...
4 years, 5 months ago (2016-07-06 19:46:13 UTC) #7
kylechar
On 2016/07/06 19:46:13, sky wrote: > On Wed, Jul 6, 2016 at 10:19 AM, <mailto:kylechar@chromium.org> ...
4 years, 5 months ago (2016-07-08 18:28:00 UTC) #8
kylechar
I've moved the mojom and StructTrait to services/ui/public/interfaces/display. A few things though. 1. I left ...
4 years, 5 months ago (2016-07-18 20:58:30 UTC) #12
sky
On 2016/07/18 20:58:30, kylechar wrote: > I've moved the mojom and StructTrait to services/ui/public/interfaces/display. A ...
4 years, 5 months ago (2016-07-18 22:12:29 UTC) #13
sky
LGTM - you'll need to get a security reviewer.
4 years, 5 months ago (2016-07-18 22:16:25 UTC) #14
kylechar
+tsepez for security review.
4 years, 5 months ago (2016-07-19 12:53:20 UTC) #17
Tom Sepez
mojom lgtm
4 years, 5 months ago (2016-07-19 16:24:37 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2123613002/100001
4 years, 5 months ago (2016-07-19 17:00:49 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-19 18:09:57 UTC) #22
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-19 18:10:19 UTC) #23
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 18:12:09 UTC) #25
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/97a62c38c3f2d818c24190d3495853c3de8c7273
Cr-Commit-Position: refs/heads/master@{#406319}

Powered by Google App Engine
This is Rietveld 408576698