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

Unified Diff: components/mus/public/cpp/lib/scoped_view_ptr.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/public/cpp/lib/args.cc ('k') | components/mus/public/cpp/lib/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/scoped_view_ptr.cc
diff --git a/components/view_manager/public/cpp/lib/scoped_view_ptr.cc b/components/mus/public/cpp/lib/scoped_view_ptr.cc
similarity index 70%
rename from components/view_manager/public/cpp/lib/scoped_view_ptr.cc
rename to components/mus/public/cpp/lib/scoped_view_ptr.cc
index 93e231ab7a94f3438e48a75a36c39addf672ae80..79401fa223d3b8bd1510988076cc9af0941e34d8 100644
--- a/components/view_manager/public/cpp/lib/scoped_view_ptr.cc
+++ b/components/mus/public/cpp/lib/scoped_view_ptr.cc
@@ -2,16 +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/public/cpp/scoped_view_ptr.h"
+#include "components/mus/public/cpp/scoped_view_ptr.h"
-#include "components/view_manager/public/cpp/view.h"
-#include "components/view_manager/public/cpp/view_observer.h"
-#include "components/view_manager/public/cpp/view_tree_connection.h"
+#include "components/mus/public/cpp/view.h"
+#include "components/mus/public/cpp/view_observer.h"
+#include "components/mus/public/cpp/view_tree_connection.h"
namespace mojo {
-ScopedViewPtr::ScopedViewPtr(View* view)
- : view_(view) {
+ScopedViewPtr::ScopedViewPtr(View* view) : view_(view) {
view_->AddObserver(this);
}
« no previous file with comments | « components/mus/public/cpp/lib/args.cc ('k') | components/mus/public/cpp/lib/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698