OLD | NEW |
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 Loading... |
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 |
OLD | NEW |