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

Unified Diff: components/mus/view_tree_host_impl.cc

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/view_tree_host_impl.cc
diff --git a/components/view_manager/view_tree_host_impl.cc b/components/mus/view_tree_host_impl.cc
similarity index 92%
rename from components/view_manager/view_tree_host_impl.cc
rename to components/mus/view_tree_host_impl.cc
index 70093b0eadb31e18bf2e6321a0a433c78285c7fe..775c5f98ed35054a12e1c07ef2cd9f605f71efea 100644
--- a/components/view_manager/view_tree_host_impl.cc
+++ b/components/mus/view_tree_host_impl.cc
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/view_manager/view_tree_host_impl.h"
+#include "components/mus/view_tree_host_impl.h"
#include "base/strings/utf_string_conversions.h"
-#include "components/view_manager/connection_manager.h"
-#include "components/view_manager/display_manager.h"
-#include "components/view_manager/focus_controller.h"
-#include "components/view_manager/public/cpp/types.h"
-#include "components/view_manager/view_tree_host_delegate.h"
-#include "components/view_manager/view_tree_impl.h"
+#include "components/mus/connection_manager.h"
+#include "components/mus/display_manager.h"
+#include "components/mus/focus_controller.h"
+#include "components/mus/public/cpp/types.h"
+#include "components/mus/view_tree_host_delegate.h"
+#include "components/mus/view_tree_impl.h"
#include "mojo/common/common_type_converters.h"
#include "mojo/converters/geometry/geometry_type_converters.h"
@@ -27,22 +27,19 @@ ViewTreeHostImpl::ViewTreeHostImpl(
connection_manager_(connection_manager),
client_(client.Pass()),
event_dispatcher_(this),
- display_manager_(
- DisplayManager::Create(is_headless,
- app_impl,
- gpu_state,
- surfaces_state)),
+ display_manager_(DisplayManager::Create(is_headless,
+ app_impl,
+ gpu_state,
+ surfaces_state)),
focus_controller_(new FocusController(this)) {
display_manager_->Init(this);
if (client_) {
client_.set_connection_error_handler(
- base::Bind(&ViewTreeHostImpl::OnClientClosed,
- base::Unretained(this)));
+ base::Bind(&ViewTreeHostImpl::OnClientClosed, base::Unretained(this)));
}
}
-ViewTreeHostImpl::~ViewTreeHostImpl() {
-}
+ViewTreeHostImpl::~ViewTreeHostImpl() {}
void ViewTreeHostImpl::Init(ViewTreeHostDelegate* delegate) {
delegate_ = delegate;
« 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