| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 // Implementation of the two embed variants. | 184 // Implementation of the two embed variants. |
| 185 ViewManagerServiceImpl* EmbedImpl(ConnectionSpecificId creator_id, | 185 ViewManagerServiceImpl* EmbedImpl(ConnectionSpecificId creator_id, |
| 186 const String& url, | 186 const String& url, |
| 187 const Array<Id>& node_ids); | 187 const Array<Id>& node_ids); |
| 188 | 188 |
| 189 // Overridden from NodeDelegate: | 189 // Overridden from NodeDelegate: |
| 190 virtual void OnNodeHierarchyChanged(const Node* node, | 190 virtual void OnNodeHierarchyChanged(const Node* node, |
| 191 const Node* new_parent, | 191 const Node* new_parent, |
| 192 const Node* old_parent) OVERRIDE; | 192 const Node* old_parent) OVERRIDE; |
| 193 virtual void OnNodeBoundsChanged(const Node* node, |
| 194 const gfx::Rect& old_bounds, |
| 195 const gfx::Rect& new_bounds) OVERRIDE; |
| 193 virtual void OnNodeViewReplaced(const Node* node, | 196 virtual void OnNodeViewReplaced(const Node* node, |
| 194 const View* new_view, | 197 const View* new_view, |
| 195 const View* old_view) OVERRIDE; | 198 const View* old_view) OVERRIDE; |
| 196 virtual void OnViewInputEvent(const View* view, | 199 virtual void OnViewInputEvent(const View* view, |
| 197 const ui::Event* event) OVERRIDE; | 200 const ui::Event* event) OVERRIDE; |
| 198 | 201 |
| 199 Context context_; | 202 Context context_; |
| 200 | 203 |
| 201 ApplicationConnection* app_connection_; | 204 ApplicationConnection* app_connection_; |
| 202 | 205 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 222 ScopedChange* current_change_; | 225 ScopedChange* current_change_; |
| 223 | 226 |
| 224 DISALLOW_COPY_AND_ASSIGN(RootNodeManager); | 227 DISALLOW_COPY_AND_ASSIGN(RootNodeManager); |
| 225 }; | 228 }; |
| 226 | 229 |
| 227 } // namespace service | 230 } // namespace service |
| 228 } // namespace view_manager | 231 } // namespace view_manager |
| 229 } // namespace mojo | 232 } // namespace mojo |
| 230 | 233 |
| 231 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ | 234 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ |
| OLD | NEW |