| 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; | |
| 196 virtual void OnNodeViewReplaced(const Node* node, | 193 virtual void OnNodeViewReplaced(const Node* node, |
| 197 const View* new_view, | 194 const View* new_view, |
| 198 const View* old_view) OVERRIDE; | 195 const View* old_view) OVERRIDE; |
| 199 virtual void OnViewInputEvent(const View* view, | 196 virtual void OnViewInputEvent(const View* view, |
| 200 const ui::Event* event) OVERRIDE; | 197 const ui::Event* event) OVERRIDE; |
| 201 | 198 |
| 202 Context context_; | 199 Context context_; |
| 203 | 200 |
| 204 ApplicationConnection* app_connection_; | 201 ApplicationConnection* app_connection_; |
| 205 | 202 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 225 ScopedChange* current_change_; | 222 ScopedChange* current_change_; |
| 226 | 223 |
| 227 DISALLOW_COPY_AND_ASSIGN(RootNodeManager); | 224 DISALLOW_COPY_AND_ASSIGN(RootNodeManager); |
| 228 }; | 225 }; |
| 229 | 226 |
| 230 } // namespace service | 227 } // namespace service |
| 231 } // namespace view_manager | 228 } // namespace view_manager |
| 232 } // namespace mojo | 229 } // namespace mojo |
| 233 | 230 |
| 234 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ | 231 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ |
| OLD | NEW |