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 #include "mojo/services/view_manager/root_node_manager.h" | 5 #include "mojo/services/view_manager/root_node_manager.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "mojo/public/cpp/application/application_connection.h" | 8 #include "mojo/public/cpp/application/application_connection.h" |
9 #include "mojo/public/interfaces/service_provider/service_provider.mojom.h" | 9 #include "mojo/public/interfaces/application/service_provider.mojom.h" |
10 #include "mojo/services/public/cpp/input_events/input_events_type_converters.h" | 10 #include "mojo/services/public/cpp/input_events/input_events_type_converters.h" |
11 #include "mojo/services/view_manager/view.h" | 11 #include "mojo/services/view_manager/view.h" |
12 #include "mojo/services/view_manager/view_manager_service_impl.h" | 12 #include "mojo/services/view_manager/view_manager_service_impl.h" |
13 #include "ui/aura/client/focus_client.h" | 13 #include "ui/aura/client/focus_client.h" |
14 #include "ui/aura/env.h" | 14 #include "ui/aura/env.h" |
15 | 15 |
16 namespace mojo { | 16 namespace mojo { |
17 namespace service { | 17 namespace service { |
18 | 18 |
19 RootNodeManager::ScopedChange::ScopedChange( | 19 RootNodeManager::ScopedChange::ScopedChange( |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 ProcessNodeViewReplaced(node, new_view, old_view); | 293 ProcessNodeViewReplaced(node, new_view, old_view); |
294 } | 294 } |
295 | 295 |
296 void RootNodeManager::OnViewInputEvent(const View* view, | 296 void RootNodeManager::OnViewInputEvent(const View* view, |
297 const ui::Event* event) { | 297 const ui::Event* event) { |
298 DispatchViewInputEventToWindowManager(view, event); | 298 DispatchViewInputEventToWindowManager(view, event); |
299 } | 299 } |
300 | 300 |
301 } // namespace service | 301 } // namespace service |
302 } // namespace mojo | 302 } // namespace mojo |
OLD | NEW |