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

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

Issue 2429173005: Mus+Ash: Replace (Server)WindowSurface with (Server)WindowCompositorFrameSink (Closed)
Patch Set: Rebased 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
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_UI_WS_SERVER_WINDOW_SURFACE_MANAGER_TEST_API_H_
6 #define SERVICES_UI_WS_SERVER_WINDOW_SURFACE_MANAGER_TEST_API_H_
7
8 #include "base/macros.h"
9 #include "services/ui/ws/server_window_surface_manager.h"
10
11 namespace ui {
12 namespace ws {
13
14 class ServerWindow;
15
16 // Use to poke at the internals of ServerWindowSurfaceManager.
17 class ServerWindowSurfaceManagerTestApi {
18 public:
19 explicit ServerWindowSurfaceManagerTestApi(
20 ServerWindowSurfaceManager* manager);
21 ~ServerWindowSurfaceManagerTestApi();
22
23 void CreateEmptyDefaultSurface();
24 void DestroyDefaultSurface();
25
26 private:
27 ServerWindowSurfaceManager* manager_;
28
29 DISALLOW_COPY_AND_ASSIGN(ServerWindowSurfaceManagerTestApi);
30 };
31
32 // Use to make |window| a target for events.
33 void EnableHitTest(ServerWindow* window);
34 void DisableHitTest(ServerWindow* window);
35
36 } // namespace ws
37 } // namespace ui
38
39 #endif // SERVICES_UI_WS_SERVER_WINDOW_SURFACE_MANAGER_TEST_API_H_
OLDNEW
« no previous file with comments | « services/ui/ws/server_window_surface_manager.cc ('k') | services/ui/ws/server_window_surface_manager_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698