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 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 97 |
98 // Overridden from InterfaceImpl: | 98 // Overridden from InterfaceImpl: |
99 virtual void OnConnectionEstablished() OVERRIDE; | 99 virtual void OnConnectionEstablished() OVERRIDE; |
100 | 100 |
101 // Overridden from ViewManagerClient: | 101 // Overridden from ViewManagerClient: |
102 virtual void OnViewManagerConnectionEstablished( | 102 virtual void OnViewManagerConnectionEstablished( |
103 ConnectionSpecificId connection_id, | 103 ConnectionSpecificId connection_id, |
104 const String& creator_url, | 104 const String& creator_url, |
105 Id next_server_change_id, | 105 Id next_server_change_id, |
106 Array<NodeDataPtr> nodes) OVERRIDE; | 106 Array<NodeDataPtr> nodes) OVERRIDE; |
107 virtual void OnRootsAdded(Array<NodeDataPtr> nodes) OVERRIDE; | 107 virtual void OnRootAdded(Array<NodeDataPtr> nodes) OVERRIDE; |
108 virtual void OnServerChangeIdAdvanced(Id next_server_change_id) OVERRIDE; | 108 virtual void OnServerChangeIdAdvanced(Id next_server_change_id) OVERRIDE; |
109 virtual void OnNodeBoundsChanged(Id node_id, | 109 virtual void OnNodeBoundsChanged(Id node_id, |
110 RectPtr old_bounds, | 110 RectPtr old_bounds, |
111 RectPtr new_bounds) OVERRIDE; | 111 RectPtr new_bounds) OVERRIDE; |
112 virtual void OnNodeHierarchyChanged(Id node_id, | 112 virtual void OnNodeHierarchyChanged(Id node_id, |
113 Id new_parent_id, | 113 Id new_parent_id, |
114 Id old_parent_id, | 114 Id old_parent_id, |
115 Id server_change_id, | 115 Id server_change_id, |
116 Array<NodeDataPtr> nodes) OVERRIDE; | 116 Array<NodeDataPtr> nodes) OVERRIDE; |
117 virtual void OnNodeReordered(Id node_id, | 117 virtual void OnNodeReordered(Id node_id, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 161 |
162 ViewManagerService* service_; | 162 ViewManagerService* service_; |
163 | 163 |
164 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); | 164 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); |
165 }; | 165 }; |
166 | 166 |
167 } // namespace view_manager | 167 } // namespace view_manager |
168 } // namespace mojo | 168 } // namespace mojo |
169 | 169 |
170 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 170 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
OLD | NEW |