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

Side by Side Diff: components/mus/ws/test_utils.cc

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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 | « components/mus/ws/platform_display.cc ('k') | components/mus/ws/user_id_tracker.cc » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_utils.h" 5 #include "components/mus/ws/test_utils.h"
6 6
7 #include "cc/output/copy_output_request.h" 7 #include "cc/output/copy_output_request.h"
8 #include "components/mus/surfaces/surfaces_state.h" 8 #include "components/mus/surfaces/surfaces_state.h"
9 #include "components/mus/ws/display_binding.h" 9 #include "components/mus/ws/display_binding.h"
10 #include "components/mus/ws/window_manager_access_policy.h" 10 #include "components/mus/ws/window_manager_access_policy.h"
11 #include "components/mus/ws/window_manager_factory_service.h" 11 #include "components/mus/ws/window_manager_factory_service.h"
12 #include "mojo/converters/geometry/geometry_type_converters.h" 12 #include "mojo/converters/geometry/geometry_type_converters.h"
13 #include "mojo/shell/public/interfaces/connector.mojom.h" 13 #include "services/shell/public/interfaces/connector.mojom.h"
14 14
15 namespace mus { 15 namespace mus {
16 namespace ws { 16 namespace ws {
17 namespace test { 17 namespace test {
18 namespace { 18 namespace {
19 19
20 // ----------------------------------------------------------------------------- 20 // -----------------------------------------------------------------------------
21 // Empty implementation of PlatformDisplay. 21 // Empty implementation of PlatformDisplay.
22 class TestPlatformDisplay : public PlatformDisplay { 22 class TestPlatformDisplay : public PlatformDisplay {
23 public: 23 public:
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 return nullptr; 363 return nullptr;
364 if (!tree->AddWindow(parent_client_id, client_window_id)) 364 if (!tree->AddWindow(parent_client_id, client_window_id))
365 return nullptr; 365 return nullptr;
366 *client_id = client_window_id; 366 *client_id = client_window_id;
367 return tree->GetWindowByClientId(client_window_id); 367 return tree->GetWindowByClientId(client_window_id);
368 } 368 }
369 369
370 } // namespace test 370 } // namespace test
371 } // namespace ws 371 } // namespace ws
372 } // namespace mus 372 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/ws/platform_display.cc ('k') | components/mus/ws/user_id_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698