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_VIEW_MANAGER_SERVICE_IMPL_H_ | 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ |
6 #define MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 virtual void Embed(const mojo::String& url, | 213 virtual void Embed(const mojo::String& url, |
214 mojo::Array<uint32_t> node_ids, | 214 mojo::Array<uint32_t> node_ids, |
215 const mojo::Callback<void(bool)>& callback) OVERRIDE; | 215 const mojo::Callback<void(bool)>& callback) OVERRIDE; |
216 virtual void DispatchOnViewInputEvent(Id transport_view_id, | 216 virtual void DispatchOnViewInputEvent(Id transport_view_id, |
217 EventPtr event) OVERRIDE; | 217 EventPtr event) OVERRIDE; |
218 | 218 |
219 // Overridden from NodeDelegate: | 219 // Overridden from NodeDelegate: |
220 virtual void OnNodeHierarchyChanged(const Node* node, | 220 virtual void OnNodeHierarchyChanged(const Node* node, |
221 const Node* new_parent, | 221 const Node* new_parent, |
222 const Node* old_parent) OVERRIDE; | 222 const Node* old_parent) OVERRIDE; |
| 223 virtual void OnNodeBoundsChanged(const Node* node, |
| 224 const gfx::Rect& old_bounds, |
| 225 const gfx::Rect& new_bounds) OVERRIDE; |
223 virtual void OnNodeViewReplaced(const Node* node, | 226 virtual void OnNodeViewReplaced(const Node* node, |
224 const View* new_view, | 227 const View* new_view, |
225 const View* old_view) OVERRIDE; | 228 const View* old_view) OVERRIDE; |
226 virtual void OnViewInputEvent(const View* view, | 229 virtual void OnViewInputEvent(const View* view, |
227 const ui::Event* event) OVERRIDE; | 230 const ui::Event* event) OVERRIDE; |
228 | 231 |
229 // InterfaceImp overrides: | 232 // InterfaceImp overrides: |
230 virtual void OnConnectionEstablished() MOJO_OVERRIDE; | 233 virtual void OnConnectionEstablished() MOJO_OVERRIDE; |
231 | 234 |
232 RootNodeManager* root_node_manager_; | 235 RootNodeManager* root_node_manager_; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 | 270 |
268 #if defined(OS_WIN) | 271 #if defined(OS_WIN) |
269 #pragma warning(pop) | 272 #pragma warning(pop) |
270 #endif | 273 #endif |
271 | 274 |
272 } // namespace service | 275 } // namespace service |
273 } // namespace view_manager | 276 } // namespace view_manager |
274 } // namespace mojo | 277 } // namespace mojo |
275 | 278 |
276 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ | 279 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ |
OLD | NEW |