| 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; | |
| 226 virtual void OnNodeViewReplaced(const Node* node, | 223 virtual void OnNodeViewReplaced(const Node* node, |
| 227 const View* new_view, | 224 const View* new_view, |
| 228 const View* old_view) OVERRIDE; | 225 const View* old_view) OVERRIDE; |
| 229 virtual void OnViewInputEvent(const View* view, | 226 virtual void OnViewInputEvent(const View* view, |
| 230 const ui::Event* event) OVERRIDE; | 227 const ui::Event* event) OVERRIDE; |
| 231 | 228 |
| 232 // InterfaceImp overrides: | 229 // InterfaceImp overrides: |
| 233 virtual void OnConnectionEstablished() MOJO_OVERRIDE; | 230 virtual void OnConnectionEstablished() MOJO_OVERRIDE; |
| 234 | 231 |
| 235 RootNodeManager* root_node_manager_; | 232 RootNodeManager* root_node_manager_; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 | 267 |
| 271 #if defined(OS_WIN) | 268 #if defined(OS_WIN) |
| 272 #pragma warning(pop) | 269 #pragma warning(pop) |
| 273 #endif | 270 #endif |
| 274 | 271 |
| 275 } // namespace service | 272 } // namespace service |
| 276 } // namespace view_manager | 273 } // namespace view_manager |
| 277 } // namespace mojo | 274 } // namespace mojo |
| 278 | 275 |
| 279 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ | 276 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ |
| OLD | NEW |