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

Unified Diff: components/mus/test_change_tracker.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/test_change_tracker.h ('k') | components/mus/test_server_view_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/test_change_tracker.cc
diff --git a/components/view_manager/test_change_tracker.cc b/components/mus/test_change_tracker.cc
similarity index 94%
rename from components/view_manager/test_change_tracker.cc
rename to components/mus/test_change_tracker.cc
index 35d5ca4cb0509c91237e293d5614d46521253a58..117c639cd44db63b2258a38fb5801e8496bd00a7 100644
--- a/components/view_manager/test_change_tracker.cc
+++ b/components/mus/test_change_tracker.cc
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/view_manager/test_change_tracker.h"
+#include "components/mus/test_change_tracker.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
-#include "components/view_manager/public/cpp/util.h"
+#include "components/mus/public/cpp/util.h"
#include "mojo/common/common_type_converters.h"
using mojo::Array;
@@ -164,18 +164,13 @@ Change::Change()
view_id3(0),
event_action(0),
direction(mojo::ORDER_DIRECTION_ABOVE),
- bool_value(false) {
-}
+ bool_value(false) {}
-Change::~Change() {
-}
+Change::~Change() {}
-TestChangeTracker::TestChangeTracker()
- : delegate_(NULL) {
-}
+TestChangeTracker::TestChangeTracker() : delegate_(NULL) {}
-TestChangeTracker::~TestChangeTracker() {
-}
+TestChangeTracker::~TestChangeTracker() {}
void TestChangeTracker::OnEmbed(mojo::ConnectionSpecificId connection_id,
ViewDataPtr root) {
@@ -325,11 +320,10 @@ std::string TestView::ToString() const {
}
std::string TestView::ToString2() const {
- return base::StringPrintf("view=%s parent=%s visible=%s drawn=%s",
- ViewIdToString(view_id).c_str(),
- ViewIdToString(parent_id).c_str(),
- visible ? "true" : "false",
- drawn ? "true" : "false");
+ return base::StringPrintf(
+ "view=%s parent=%s visible=%s drawn=%s", ViewIdToString(view_id).c_str(),
+ ViewIdToString(parent_id).c_str(), visible ? "true" : "false",
+ drawn ? "true" : "false");
}
} // namespace view_manager
« no previous file with comments | « components/mus/test_change_tracker.h ('k') | components/mus/test_server_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698