OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 module mojo.services.view_manager { | 5 module mojo.services.view_manager { |
6 | 6 |
7 struct INode { | 7 struct INode { |
8 uint32 parent_id; | 8 uint32 parent_id; |
9 uint32 node_id; | 9 uint32 node_id; |
10 uint32 view_id; | 10 uint32 view_id; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 uint32 new_parent, | 73 uint32 new_parent, |
74 uint32 old_parent, | 74 uint32 old_parent, |
75 uint32 change_id); | 75 uint32 change_id); |
76 | 76 |
77 // Invoked when the view associated with a node is replaced by another view. | 77 // Invoked when the view associated with a node is replaced by another view. |
78 // 0 is used to identify a null view. | 78 // 0 is used to identify a null view. |
79 OnNodeViewReplaced(uint32 node, | 79 OnNodeViewReplaced(uint32 node, |
80 uint32 new_view_id, | 80 uint32 new_view_id, |
81 uint32 old_view_id, | 81 uint32 old_view_id, |
82 uint32 change_id); | 82 uint32 change_id); |
83 | |
84 // Invoked when a node is deleted. | |
85 OnNodeDeleted(uint32 node, uint32 change_id); | |
86 }; | 83 }; |
87 | 84 |
88 } | 85 } |
OLD | NEW |