DescriptionInitial cut at layerless windows.
This has the minimal support working. You can create layerless
windows add/remove them from a hierarchy, add children with layers and
everything is kept in sync (including bounds).
Painting has not been wired up yet.
The interesting bit of this change is that Layer and Window bounds are
no longer in sync. This is necessitated by Layer's having to be
parented to Layers. To avoid changing bounds() to dynamically figure
out the real bounds I made Window cache the bounds.
BUG=none
TEST=none
R=ben@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238408
Patch Set 1 #Patch Set 2 : tweaks #
Total comments: 5
Patch Set 3 : improve comments, remove Window::window_layer_type_ and fix test #
Total comments: 1
Patch Set 4 : merge to trunk #Patch Set 5 : is_layerless() -> \!layer_ #
Total comments: 2
Messages
Total messages: 15 (0 generated)
|