Chromium Code Reviews| Index: ui/aura/mus/window_port_mus.h |
| diff --git a/ui/aura/mus/window_port_mus.h b/ui/aura/mus/window_port_mus.h |
| index d591a368174c7669fe94ba3dd7923877f217b970..c94b0a8df558c26c09db05e13d86c6bf02c02f4d 100644 |
| --- a/ui/aura/mus/window_port_mus.h |
| +++ b/ui/aura/mus/window_port_mus.h |
| @@ -93,16 +93,18 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus { |
| // window_tree_client_->OnFooChanged(this, ...); |
| enum ServerChangeType { |
| ADD, |
| + ADD_TRANSIENT, |
| BOUNDS, |
| PROPERTY, |
| REMOVE, |
| + REMOVE_TRANSIENT, |
| REORDER, |
| VISIBLE, |
| }; |
| // Contains data needed to identify a change from the server. |
| struct ServerChangeData { |
| - // Applies to ADD, REMOVE and REORDER. |
| + // Applies to ADD, ADD_TRANSIENT, REMOVE and REORDER. |
|
msw
2016/10/27 23:46:10
optional nit: mention REMOVE_TRANSIENT, or just et
sky
2016/10/28 03:16:32
Done.
|
| Id child_id; |
| // Applies to BOUNDS. |
| gfx::Rect bounds; |
| @@ -177,6 +179,10 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus { |
| const std::vector<uint8_t>* property_data) override; |
| void SetSurfaceIdFromServer( |
| std::unique_ptr<SurfaceInfo> surface_info) override; |
| + void AddTransientChildFromServer(WindowMus* child) override; |
| + void RemoveTransientChildFromServer(WindowMus* child) override; |
| + ChangeSource OnTransientChildAdded(WindowMus* child) override; |
| + ChangeSource OnTransientChildRemoved(WindowMus* child) override; |
| std::unique_ptr<WindowMusChangeData> PrepareForServerBoundsChange( |
| const gfx::Rect& bounds) override; |
| std::unique_ptr<WindowMusChangeData> PrepareForServerVisibilityChange( |