| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 // to avoid sending ServerChangeIdAdvanced() unnecessarily. | 122 // to avoid sending ServerChangeIdAdvanced() unnecessarily. |
| 123 void OnConnectionMessagedClient(ConnectionSpecificId id); | 123 void OnConnectionMessagedClient(ConnectionSpecificId id); |
| 124 | 124 |
| 125 // Returns true if OnConnectionMessagedClient() was invoked for id. | 125 // Returns true if OnConnectionMessagedClient() was invoked for id. |
| 126 bool DidConnectionMessageClient(ConnectionSpecificId id) const; | 126 bool DidConnectionMessageClient(ConnectionSpecificId id) const; |
| 127 | 127 |
| 128 ViewManagerServiceImpl* GetConnectionByCreator( | 128 ViewManagerServiceImpl* GetConnectionByCreator( |
| 129 ConnectionSpecificId creator_id, | 129 ConnectionSpecificId creator_id, |
| 130 const std::string& url) const; | 130 const std::string& url) const; |
| 131 | 131 |
| 132 void DispatchViewInputEventToWindowManager(const View* view, |
| 133 const ui::Event* event); |
| 134 |
| 132 // These functions trivially delegate to all ViewManagerServiceImpls, which in | 135 // These functions trivially delegate to all ViewManagerServiceImpls, which in |
| 133 // term notify their clients. | 136 // term notify their clients. |
| 134 void ProcessNodeBoundsChanged(const Node* node, | 137 void ProcessNodeBoundsChanged(const Node* node, |
| 135 const gfx::Rect& old_bounds, | 138 const gfx::Rect& old_bounds, |
| 136 const gfx::Rect& new_bounds); | 139 const gfx::Rect& new_bounds); |
| 137 void ProcessNodeHierarchyChanged(const Node* node, | 140 void ProcessNodeHierarchyChanged(const Node* node, |
| 138 const Node* new_parent, | 141 const Node* new_parent, |
| 139 const Node* old_parent); | 142 const Node* old_parent); |
| 140 void ProcessNodeReorder(const Node* node, | 143 void ProcessNodeReorder(const Node* node, |
| 141 const Node* relative_node, | 144 const Node* relative_node, |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 ScopedChange* current_change_; | 215 ScopedChange* current_change_; |
| 213 | 216 |
| 214 DISALLOW_COPY_AND_ASSIGN(RootNodeManager); | 217 DISALLOW_COPY_AND_ASSIGN(RootNodeManager); |
| 215 }; | 218 }; |
| 216 | 219 |
| 217 } // namespace service | 220 } // namespace service |
| 218 } // namespace view_manager | 221 } // namespace view_manager |
| 219 } // namespace mojo | 222 } // namespace mojo |
| 220 | 223 |
| 221 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ | 224 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ |
| OLD | NEW |