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

Side by Side Diff: components/mus/test_wm/test_wm.cc

Issue 2016583002: mojo/converters/ime,display -> ui/platform_window,display/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@converters_surfaces
Patch Set: . Created 4 years, 6 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/test_wm/BUILD.gn ('k') | components/mus/ws/BUILD.gn » ('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/public/cpp/window.h" 5 #include "components/mus/public/cpp/window.h"
6 #include "components/mus/public/cpp/window_manager_delegate.h" 6 #include "components/mus/public/cpp/window_manager_delegate.h"
7 #include "components/mus/public/cpp/window_tree_connection.h" 7 #include "components/mus/public/cpp/window_tree_connection.h"
8 #include "components/mus/public/cpp/window_tree_delegate.h" 8 #include "components/mus/public/cpp/window_tree_delegate.h"
9 #include "components/mus/public/interfaces/window_manager_factory.mojom.h" 9 #include "components/mus/public/interfaces/window_manager_factory.mojom.h"
10 #include "mojo/public/c/system/main.h" 10 #include "mojo/public/c/system/main.h"
11 #include "mojo/public/cpp/bindings/binding.h" 11 #include "mojo/public/cpp/bindings/binding.h"
12 #include "services/shell/public/cpp/application_runner.h" 12 #include "services/shell/public/cpp/application_runner.h"
13 #include "services/shell/public/cpp/connector.h" 13 #include "services/shell/public/cpp/connector.h"
14 #include "services/shell/public/cpp/shell_client.h" 14 #include "services/shell/public/cpp/shell_client.h"
15 #include "ui/display/display.h" 15 #include "ui/display/display.h"
16 #include "ui/display/mojo/display_type_converters.h"
16 #include "ui/gfx/geometry/mojo/geometry_type_converters.h" 17 #include "ui/gfx/geometry/mojo/geometry_type_converters.h"
17 #include "ui/mojo/display/display_type_converters.h"
18 18
19 namespace mus { 19 namespace mus {
20 namespace test { 20 namespace test {
21 21
22 class TestWM : public shell::ShellClient, 22 class TestWM : public shell::ShellClient,
23 public mus::mojom::WindowManagerFactory, 23 public mus::mojom::WindowManagerFactory,
24 public mus::WindowTreeDelegate, 24 public mus::WindowTreeDelegate,
25 public mus::WindowManagerDelegate { 25 public mus::WindowManagerDelegate {
26 public: 26 public:
27 TestWM() : window_manager_factory_binding_(this) {} 27 TestWM() : window_manager_factory_binding_(this) {}
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 DISALLOW_COPY_AND_ASSIGN(TestWM); 106 DISALLOW_COPY_AND_ASSIGN(TestWM);
107 }; 107 };
108 108
109 } // namespace test 109 } // namespace test
110 } // namespace mus 110 } // namespace mus
111 111
112 MojoResult MojoMain(MojoHandle shell_handle) { 112 MojoResult MojoMain(MojoHandle shell_handle) {
113 shell::ApplicationRunner runner(new mus::test::TestWM); 113 shell::ApplicationRunner runner(new mus::test::TestWM);
114 return runner.Run(shell_handle); 114 return runner.Run(shell_handle);
115 } 115 }
OLDNEW
« no previous file with comments | « components/mus/test_wm/BUILD.gn ('k') | components/mus/ws/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698