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

Issue 2488353005: Implement aura::PropertyConverter for mus interop. (Closed)

Created:
4 years, 1 month ago by msw
Modified:
4 years, 1 month ago
Reviewers:
Tom Sepez, sky
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement aura::PropertyConverter for mus interop. Provide an implementation for the interface. TODO: Add other properties besides always-on-top. Use aura::Window's internal int64_t property accessors. TODO: This is wasteful for smaller types (eg. bool). Use the existing property type converters. TODO: Use Mojo's generated byte array Serialize function? Some misc. TODO ideas to improve this or follow up: TODO: Store aura::Window props by key *name*? TODO: Store aura::Window props as std::vector<uint8_t>? TODO: Optimize for smaller property types? TODO: Let clients extend the set of known properties? TODO: Nix WindowTreeClientDelegate::GetPropertyConverter? BUG=663522 TEST=Automated R=sky@chromium.org TBR=tsepez@chromium.org Committed: https://crrev.com/28625ccf0b3bcbcf118f06024f78d975f7575d5b Cr-Commit-Position: refs/heads/master@{#431743}

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 2

Patch Set 3 : Remove key name comparison. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -88 lines) Patch
M ui/aura/BUILD.gn View 1 2 chunks +2 lines, -0 lines 0 comments Download
M ui/aura/mus/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/mus/property_converter.h View 1 4 chunks +10 lines, -5 lines 0 comments Download
A ui/aura/mus/property_converter.cc View 1 2 1 chunk +77 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_client_unittest.cc View 1 5 chunks +30 lines, -21 lines 0 comments Download
M ui/aura/test/aura_test_base.cc View 2 chunks +1 line, -31 lines 0 comments Download
M ui/aura/window.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/mus/mus_client.cc View 1 2 chunks +2 lines, -31 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
msw
Hey Scott, please take a look; thanks! I'm happy to make heavy changes here; this ...
4 years, 1 month ago (2016-11-11 22:29:12 UTC) #4
sky
This is a good start. I have one question about using WindowProperty::key, but LGTM https://codereview.chromium.org/2488353005/diff/40001/ui/aura/mus/property_converter.cc ...
4 years, 1 month ago (2016-11-11 22:59:15 UTC) #7
msw
https://codereview.chromium.org/2488353005/diff/40001/ui/aura/mus/property_converter.cc File ui/aura/mus/property_converter.cc (right): https://codereview.chromium.org/2488353005/diff/40001/ui/aura/mus/property_converter.cc#newcode53 ui/aura/mus/property_converter.cc:53: if (key == client::kAlwaysOnTopKey || key == client::kAlwaysOnTopKey->name) On ...
4 years, 1 month ago (2016-11-11 23:10:50 UTC) #8
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/2488353005/60001
4 years, 1 month ago (2016-11-11 23:11:32 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/302739)
4 years, 1 month ago (2016-11-11 23:21:03 UTC) #13
msw
+TBR Tom for ui/aura/mus's new dependency on: services/ui/public/cpp/property_type_converters.h
4 years, 1 month ago (2016-11-11 23:30:24 UTC) #16
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/2488353005/60001
4 years, 1 month ago (2016-11-11 23:40:08 UTC) #18
Tom Sepez
RS LGTM
4 years, 1 month ago (2016-11-12 00:56:49 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 1 month ago (2016-11-12 02:13:04 UTC) #21
commit-bot: I haz the power
4 years, 1 month ago (2016-11-12 02:16:17 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/28625ccf0b3bcbcf118f06024f78d975f7575d5b
Cr-Commit-Position: refs/heads/master@{#431743}

Powered by Google App Engine
This is Rietveld 408576698