| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/mus/view_tree_host_impl.h" | 5 #include "components/mus/vm/view_tree_host_impl.h" |
| 6 | 6 |
| 7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 8 #include "components/mus/connection_manager.h" | |
| 9 #include "components/mus/display_manager.h" | |
| 10 #include "components/mus/focus_controller.h" | |
| 11 #include "components/mus/public/cpp/types.h" | 8 #include "components/mus/public/cpp/types.h" |
| 12 #include "components/mus/view_tree_host_delegate.h" | 9 #include "components/mus/vm/connection_manager.h" |
| 13 #include "components/mus/view_tree_impl.h" | 10 #include "components/mus/vm/display_manager.h" |
| 11 #include "components/mus/vm/focus_controller.h" |
| 12 #include "components/mus/vm/view_tree_host_delegate.h" |
| 13 #include "components/mus/vm/view_tree_impl.h" |
| 14 #include "mojo/common/common_type_converters.h" | 14 #include "mojo/common/common_type_converters.h" |
| 15 #include "mojo/converters/geometry/geometry_type_converters.h" | 15 #include "mojo/converters/geometry/geometry_type_converters.h" |
| 16 | 16 |
| 17 namespace mus { | 17 namespace mus { |
| 18 | 18 |
| 19 ViewTreeHostImpl::ViewTreeHostImpl( | 19 ViewTreeHostImpl::ViewTreeHostImpl( |
| 20 mojo::ViewTreeHostClientPtr client, | 20 mojo::ViewTreeHostClientPtr client, |
| 21 ConnectionManager* connection_manager, | 21 ConnectionManager* connection_manager, |
| 22 mojo::ApplicationImpl* app_impl, | 22 mojo::ApplicationImpl* app_impl, |
| 23 const scoped_refptr<GpuState>& gpu_state, | 23 const scoped_refptr<GpuState>& gpu_state, |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 root_tree != embedded_connection_old && | 233 root_tree != embedded_connection_old && |
| 234 root_tree != owning_connection_new && | 234 root_tree != owning_connection_new && |
| 235 root_tree != embedded_connection_new) { | 235 root_tree != embedded_connection_new) { |
| 236 root_tree->ProcessFocusChanged(old_focused_view, new_focused_view); | 236 root_tree->ProcessFocusChanged(old_focused_view, new_focused_view); |
| 237 } | 237 } |
| 238 | 238 |
| 239 UpdateTextInputState(new_focused_view, new_focused_view->text_input_state()); | 239 UpdateTextInputState(new_focused_view, new_focused_view->text_input_state()); |
| 240 } | 240 } |
| 241 | 241 |
| 242 } // namespace mus | 242 } // namespace mus |
| OLD | NEW |