Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: components/mus/vm/view_tree_host_impl.cc

Issue 1377493002: mus: move View Manager to components/mus/vm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/mus/vm/view_tree_host_impl.h ('k') | components/mus/vm/view_tree_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/mus/vm/view_tree_host_impl.h ('k') | components/mus/vm/view_tree_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698