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

Issue 2499933003: Expand aura::PropertyConverter support. (Closed)

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

Description

Expand aura::PropertyConverter support. Add PropertyConverter support for strings and rects. Allow clients to register additional properties. Add a few more properties and lots of testing. BUG=663522 TEST=Automated R=sky@chromium.org Committed: https://crrev.com/4f5e732f00545db86e98aaff3245a2b3611d9168 Cr-Commit-Position: refs/heads/master@{#432792}

Patch Set 1 #

Patch Set 2 : Refining... #

Patch Set 3 : Consolidate string property types to base::string16. #

Patch Set 4 : Support primitive, rect, and string; add client extensibility. #

Patch Set 5 : Working on primitive property support and testing. #

Patch Set 6 : Refine primitive property support and testing. #

Patch Set 7 : Cleanup #

Patch Set 8 : Revert to std::string. #

Total comments: 16

Patch Set 9 : Address comments; attempt to resolve compile failures. #

Patch Set 10 : Sync and rebase; update tests. #

Total comments: 2

Patch Set 11 : Address comment; remove another duplicate declaration. #

Patch Set 12 : Fix the other new unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+478 lines, -157 lines) Patch
M ui/aura/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/client/aura_constants.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M ui/aura/mus/property_converter.h View 1 2 3 4 5 6 7 8 2 chunks +35 lines, -6 lines 0 comments Download
M ui/aura/mus/property_converter.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +105 lines, -36 lines 0 comments Download
A ui/aura/mus/property_converter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +197 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_client_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 15 chunks +119 lines, -86 lines 0 comments Download
M ui/aura/test/aura_test_base.h View 1 2 3 4 3 chunks +2 lines, -4 lines 0 comments Download
M ui/aura/test/aura_test_base.cc View 1 2 3 4 4 chunks +1 line, -9 lines 0 comments Download
M ui/aura/window_property.h View 1 2 3 1 chunk +16 lines, -15 lines 0 comments Download

Messages

Total messages: 33 (25 generated)
msw
Hey Scott, please take a look; thanks!
4 years, 1 month ago (2016-11-16 17:08:44 UTC) #9
sky
https://codereview.chromium.org/2499933003/diff/140001/ui/aura/mus/property_converter.cc File ui/aura/mus/property_converter.cc (right): https://codereview.chromium.org/2499933003/diff/140001/ui/aura/mus/property_converter.cc#newcode20 ui/aura/mus/property_converter.cc:20: std::unique_ptr<std::vector<uint8_t>> GetArray(Window* window, optional: naming this as get implies ...
4 years, 1 month ago (2016-11-16 17:56:13 UTC) #13
msw
Comments addressed; please take another look; thanks! https://codereview.chromium.org/2499933003/diff/140001/ui/aura/mus/property_converter.cc File ui/aura/mus/property_converter.cc (right): https://codereview.chromium.org/2499933003/diff/140001/ui/aura/mus/property_converter.cc#newcode20 ui/aura/mus/property_converter.cc:20: std::unique_ptr<std::vector<uint8_t>> GetArray(Window* ...
4 years, 1 month ago (2016-11-16 22:47:45 UTC) #15
sky
LGTM - given we some times treat a string as a bag of bytes I'm ...
4 years, 1 month ago (2016-11-17 00:44:35 UTC) #21
msw
Done; also fixed up the new unit tests. https://codereview.chromium.org/2499933003/diff/180001/ui/aura/mus/property_converter.cc File ui/aura/mus/property_converter.cc (right): https://codereview.chromium.org/2499933003/diff/180001/ui/aura/mus/property_converter.cc#newcode39 ui/aura/mus/property_converter.cc:39: RegisterProperty(client::kAppIdKey, ...
4 years, 1 month ago (2016-11-17 04:23:27 UTC) #28
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/2499933003/140002
4 years, 1 month ago (2016-11-17 04:23:37 UTC) #29
commit-bot: I haz the power
Committed patchset #12 (id:140002)
4 years, 1 month ago (2016-11-17 07:01:07 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 07:05:37 UTC) #33
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/4f5e732f00545db86e98aaff3245a2b3611d9168
Cr-Commit-Position: refs/heads/master@{#432792}

Powered by Google App Engine
This is Rietveld 408576698