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_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ | 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ |
6 #define MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 InterfaceRequest<ServiceProvider> service_provider); | 169 InterfaceRequest<ServiceProvider> service_provider); |
170 | 170 |
171 // Overridden from NodeDelegate: | 171 // Overridden from NodeDelegate: |
172 virtual void OnNodeDestroyed(const Node* node) OVERRIDE; | 172 virtual void OnNodeDestroyed(const Node* node) OVERRIDE; |
173 virtual void OnNodeHierarchyChanged(const Node* node, | 173 virtual void OnNodeHierarchyChanged(const Node* node, |
174 const Node* new_parent, | 174 const Node* new_parent, |
175 const Node* old_parent) OVERRIDE; | 175 const Node* old_parent) OVERRIDE; |
176 virtual void OnNodeBoundsChanged(const Node* node, | 176 virtual void OnNodeBoundsChanged(const Node* node, |
177 const gfx::Rect& old_bounds, | 177 const gfx::Rect& old_bounds, |
178 const gfx::Rect& new_bounds) OVERRIDE; | 178 const gfx::Rect& new_bounds) OVERRIDE; |
| 179 virtual void OnNodeBitmapChanged(const Node* node) OVERRIDE; |
179 | 180 |
180 Context context_; | 181 Context context_; |
181 | 182 |
182 ApplicationConnection* app_connection_; | 183 ApplicationConnection* app_connection_; |
183 | 184 |
184 // ID to use for next ViewManagerServiceImpl. | 185 // ID to use for next ViewManagerServiceImpl. |
185 ConnectionSpecificId next_connection_id_; | 186 ConnectionSpecificId next_connection_id_; |
186 | 187 |
187 // Set of ViewManagerServiceImpls. | 188 // Set of ViewManagerServiceImpls. |
188 ConnectionMap connection_map_; | 189 ConnectionMap connection_map_; |
(...skipping 11 matching lines...) Expand all Loading... |
200 // (it's created on the stack by ViewManagerServiceImpl). | 201 // (it's created on the stack by ViewManagerServiceImpl). |
201 ScopedChange* current_change_; | 202 ScopedChange* current_change_; |
202 | 203 |
203 DISALLOW_COPY_AND_ASSIGN(RootNodeManager); | 204 DISALLOW_COPY_AND_ASSIGN(RootNodeManager); |
204 }; | 205 }; |
205 | 206 |
206 } // namespace service | 207 } // namespace service |
207 } // namespace mojo | 208 } // namespace mojo |
208 | 209 |
209 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ | 210 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ |
OLD | NEW |