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

Side by Side Diff: services/ui/ws/test_change_tracker.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « services/ui/ws/test_change_tracker.h ('k') | services/ui/ws/test_server_window_delegate.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/ws/test_change_tracker.h" 5 #include "services/ui/ws/test_change_tracker.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "components/mus/common/util.h"
12 #include "mojo/common/common_type_converters.h" 11 #include "mojo/common/common_type_converters.h"
12 #include "services/ui/common/util.h"
13 13
14 using mojo::Array; 14 using mojo::Array;
15 using mojo::String; 15 using mojo::String;
16 16
17 namespace mus { 17 namespace mus {
18 18
19 namespace ws { 19 namespace ws {
20 20
21 std::string WindowIdToString(Id id) { 21 std::string WindowIdToString(Id id) {
22 return (id == 0) ? "null" 22 return (id == 0) ? "null"
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 439
440 std::string TestWindow::ToString2() const { 440 std::string TestWindow::ToString2() const {
441 return base::StringPrintf( 441 return base::StringPrintf(
442 "window=%s parent=%s visible=%s", WindowIdToString(window_id).c_str(), 442 "window=%s parent=%s visible=%s", WindowIdToString(window_id).c_str(),
443 WindowIdToString(parent_id).c_str(), visible ? "true" : "false"); 443 WindowIdToString(parent_id).c_str(), visible ? "true" : "false");
444 } 444 }
445 445
446 } // namespace ws 446 } // namespace ws
447 447
448 } // namespace mus 448 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/ws/test_change_tracker.h ('k') | services/ui/ws/test_server_window_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698