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

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

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/view_tree_host_impl.h ('k') | components/mus/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/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" 8 #include "components/mus/connection_manager.h"
9 #include "components/mus/display_manager.h" 9 #include "components/mus/display_manager.h"
10 #include "components/mus/focus_controller.h" 10 #include "components/mus/focus_controller.h"
11 #include "components/mus/public/cpp/types.h" 11 #include "components/mus/public/cpp/types.h"
12 #include "components/mus/view_tree_host_delegate.h" 12 #include "components/mus/view_tree_host_delegate.h"
13 #include "components/mus/view_tree_impl.h" 13 #include "components/mus/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 view_manager {
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 bool is_headless, 22 bool is_headless,
23 mojo::ApplicationImpl* app_impl, 23 mojo::ApplicationImpl* app_impl,
24 const scoped_refptr<GpuState>& gpu_state, 24 const scoped_refptr<gles2::GpuState>& gpu_state,
25 const scoped_refptr<SurfacesState>& surfaces_state) 25 const scoped_refptr<surfaces::SurfacesState>& surfaces_state)
26 : delegate_(nullptr), 26 : delegate_(nullptr),
27 connection_manager_(connection_manager), 27 connection_manager_(connection_manager),
28 client_(client.Pass()), 28 client_(client.Pass()),
29 event_dispatcher_(this), 29 event_dispatcher_(this),
30 display_manager_(DisplayManager::Create(is_headless, 30 display_manager_(DisplayManager::Create(is_headless,
31 app_impl, 31 app_impl,
32 gpu_state, 32 gpu_state,
33 surfaces_state)), 33 surfaces_state)),
34 focus_controller_(new FocusController(this)) { 34 focus_controller_(new FocusController(this)) {
35 display_manager_->Init(this); 35 display_manager_->Init(this);
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 if (root_tree != owning_connection_old && 231 if (root_tree != owning_connection_old &&
232 root_tree != embedded_connection_old && 232 root_tree != embedded_connection_old &&
233 root_tree != owning_connection_new && 233 root_tree != owning_connection_new &&
234 root_tree != embedded_connection_new) { 234 root_tree != embedded_connection_new) {
235 root_tree->ProcessFocusChanged(old_focused_view, new_focused_view); 235 root_tree->ProcessFocusChanged(old_focused_view, new_focused_view);
236 } 236 }
237 237
238 UpdateTextInputState(new_focused_view, new_focused_view->text_input_state()); 238 UpdateTextInputState(new_focused_view, new_focused_view->text_input_state());
239 } 239 }
240 240
241 } // namespace mus 241 } // namespace view_manager
OLDNEW
« no previous file with comments | « components/mus/view_tree_host_impl.h ('k') | components/mus/view_tree_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698