[go: nahoru, domu]

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

Review-Url: https://codereview.chromium.org/2488353005
Cr-Commit-Position: refs/heads/master@{#431743}
8 files changed