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

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

Issue 2537343006: services: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of master #2 Created 4 years 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/window_server_delegate.h ('k') | services/ui/ws/window_tree.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 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;
16 struct WindowId;
17 15
18 class WindowServerTestImpl : public mojom::WindowServerTest { 16 class WindowServerTestImpl : public mojom::WindowServerTest {
19 public: 17 public:
20 explicit WindowServerTestImpl(WindowServer* server); 18 explicit WindowServerTestImpl(WindowServer* server);
21 ~WindowServerTestImpl() override; 19 ~WindowServerTestImpl() override;
22 20
23 private: 21 private:
24 void OnWindowPaint(const std::string& name, 22 void OnWindowPaint(const std::string& name,
25 const EnsureClientHasDrawnWindowCallback& cb, 23 const EnsureClientHasDrawnWindowCallback& cb,
26 ServerWindow* window); 24 ServerWindow* window);
27 25
28 // mojom::WindowServerTest: 26 // mojom::WindowServerTest:
29 void EnsureClientHasDrawnWindow( 27 void EnsureClientHasDrawnWindow(
30 const std::string& client_name, 28 const std::string& client_name,
31 const EnsureClientHasDrawnWindowCallback& callback) override; 29 const EnsureClientHasDrawnWindowCallback& callback) override;
32 30
33 WindowServer* window_server_; 31 WindowServer* window_server_;
34 32
35 DISALLOW_COPY_AND_ASSIGN(WindowServerTestImpl); 33 DISALLOW_COPY_AND_ASSIGN(WindowServerTestImpl);
36 }; 34 };
37 35
38 } // namespace ws 36 } // namespace ws
39 } // namespace ui 37 } // namespace ui
40 38
41 #endif // SERVICES_UI_WS_WINDOW_SERVER_TEST_IMPL_H_ 39 #endif // SERVICES_UI_WS_WINDOW_SERVER_TEST_IMPL_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_server_delegate.h ('k') | services/ui/ws/window_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698