| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include <stdio.h> | 5 #include <stdio.h> |
| 6 #include <string> | 6 #include <string> |
| 7 | 7 |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "mojo/aura/context_factory_mojo.h" | 9 #include "mojo/aura/context_factory_mojo.h" |
| 10 #include "mojo/aura/screen_mojo.h" | 10 #include "mojo/aura/screen_mojo.h" |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 mojo::RectPtr old_bounds, | 161 mojo::RectPtr old_bounds, |
| 162 mojo::RectPtr new_bounds) OVERRIDE { | 162 mojo::RectPtr new_bounds) OVERRIDE { |
| 163 } | 163 } |
| 164 virtual void OnNodeHierarchyChanged( | 164 virtual void OnNodeHierarchyChanged( |
| 165 uint32_t node, | 165 uint32_t node, |
| 166 uint32_t new_parent, | 166 uint32_t new_parent, |
| 167 uint32_t old_parent, | 167 uint32_t old_parent, |
| 168 uint32_t server_change_id, | 168 uint32_t server_change_id, |
| 169 mojo::Array<view_manager::INodePtr> nodes) OVERRIDE { | 169 mojo::Array<view_manager::INodePtr> nodes) OVERRIDE { |
| 170 } | 170 } |
| 171 virtual void OnNodeReordered( |
| 172 uint32_t node_id, |
| 173 uint32_t relative_node_id, |
| 174 view_manager::OrderDirection direction, |
| 175 uint32_t server_change_id) OVERRIDE { |
| 176 } |
| 171 virtual void OnNodeDeleted(uint32_t node, uint32_t server_change_id) | 177 virtual void OnNodeDeleted(uint32_t node, uint32_t server_change_id) |
| 172 OVERRIDE { | 178 OVERRIDE { |
| 173 } | 179 } |
| 174 virtual void OnNodeViewReplaced(uint32_t node, | 180 virtual void OnNodeViewReplaced(uint32_t node, |
| 175 uint32_t new_view_id, | 181 uint32_t new_view_id, |
| 176 uint32_t old_view_id) OVERRIDE { | 182 uint32_t old_view_id) OVERRIDE { |
| 177 } | 183 } |
| 178 virtual void OnViewDeleted(uint32_t view) OVERRIDE { | 184 virtual void OnViewDeleted(uint32_t view) OVERRIDE { |
| 179 } | 185 } |
| 180 virtual void OnViewInputEvent(uint32_t view_id, | 186 virtual void OnViewInputEvent(uint32_t view_id, |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 | 310 |
| 305 } // namespace examples | 311 } // namespace examples |
| 306 | 312 |
| 307 // static | 313 // static |
| 308 Application* Application::Create() { | 314 Application* Application::Create() { |
| 309 return new examples::AuraDemo(); | 315 return new examples::AuraDemo(); |
| 310 } | 316 } |
| 311 | 317 |
| 312 } // namespace mojo | 318 } // namespace mojo |
| 313 | 319 |
| OLD | NEW |