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

Side by Side Diff: services/ui/ws/window_server_test_impl.h

Issue 2505133003: Mojo C++ bindings: switch part of the services/ui/public/interfaces mojom target to use STL types. (Closed)
Patch Set: Merge branch 'master' into c139_wrappers_ui Created 4 years, 1 month 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/user_id_tracker.cc ('k') | services/ui/ws/window_server_test_impl.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 #ifndef SERVICES_UI_WS_WINDOW_SERVER_TEST_IMPL_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_SERVER_TEST_IMPL_H_
6 #define SERVICES_UI_WS_WINDOW_SERVER_TEST_IMPL_H_ 6 #define SERVICES_UI_WS_WINDOW_SERVER_TEST_IMPL_H_
7 7
8 #include "services/ui/public/interfaces/window_server_test.mojom.h" 8 #include "services/ui/public/interfaces/window_server_test.mojom.h"
9 9
10 namespace ui { 10 namespace ui {
11 namespace ws { 11 namespace ws {
12 12
13 class ServerWindow; 13 class ServerWindow;
14 class WindowServer; 14 class WindowServer;
15 class WindowTree; 15 class WindowTree;
16 struct WindowId; 16 struct WindowId;
17 17
18 class WindowServerTestImpl : public mojom::WindowServerTest { 18 class WindowServerTestImpl : public mojom::WindowServerTest {
19 public: 19 public:
20 explicit WindowServerTestImpl(WindowServer* server); 20 explicit WindowServerTestImpl(WindowServer* server);
21 ~WindowServerTestImpl() override; 21 ~WindowServerTestImpl() override;
22 22
23 private: 23 private:
24 void OnWindowPaint(const std::string& name, 24 void OnWindowPaint(const std::string& name,
25 const EnsureClientHasDrawnWindowCallback& cb, 25 const EnsureClientHasDrawnWindowCallback& cb,
26 ServerWindow* window); 26 ServerWindow* window);
27 27
28 // mojom::WindowServerTest: 28 // mojom::WindowServerTest:
29 void EnsureClientHasDrawnWindow( 29 void EnsureClientHasDrawnWindow(
30 const mojo::String& client_name, 30 const std::string& client_name,
31 const EnsureClientHasDrawnWindowCallback& callback) override; 31 const EnsureClientHasDrawnWindowCallback& callback) override;
32 32
33 WindowServer* window_server_; 33 WindowServer* window_server_;
34 34
35 DISALLOW_COPY_AND_ASSIGN(WindowServerTestImpl); 35 DISALLOW_COPY_AND_ASSIGN(WindowServerTestImpl);
36 }; 36 };
37 37
38 } // namespace ws 38 } // namespace ws
39 } // namespace ui 39 } // namespace ui
40 40
41 #endif // SERVICES_UI_WS_WINDOW_SERVER_TEST_IMPL_H_ 41 #endif // SERVICES_UI_WS_WINDOW_SERVER_TEST_IMPL_H_
OLDNEW
« no previous file with comments | « services/ui/ws/user_id_tracker.cc ('k') | services/ui/ws/window_server_test_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698