| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 // Invoked when the view associated with a node is replaced by another view. | 76 // Invoked when the view associated with a node is replaced by another view. |
| 77 // 0 is used to identify a null view. | 77 // 0 is used to identify a null view. |
| 78 OnNodeViewReplaced(uint32 node, | 78 OnNodeViewReplaced(uint32 node, |
| 79 uint32 new_view_id, | 79 uint32 new_view_id, |
| 80 uint32 old_view_id, | 80 uint32 old_view_id, |
| 81 uint32 change_id); | 81 uint32 change_id); |
| 82 | 82 |
| 83 // Invoked when a node is deleted. | 83 // Invoked when a node is deleted. |
| 84 OnNodeDeleted(uint32 node, uint32 change_id); | 84 OnNodeDeleted(uint32 node, uint32 change_id); |
| 85 |
| 86 // Invoked when a view is deleted. |
| 87 OnViewDeleted(uint32 view, uint32 change_id); |
| 85 }; | 88 }; |
| 86 | 89 |
| 87 } | 90 } |
| OLD | NEW |