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

Side by Side Diff: components/mus/ws/test_server_window_delegate.h

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
OLDNEW
(Empty)
1 // Copyright 2014 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 COMPONENTS_MUS_WS_TEST_SERVER_WINDOW_DELEGATE_H_
6 #define COMPONENTS_MUS_WS_TEST_SERVER_WINDOW_DELEGATE_H_
7
8 #include "base/macros.h"
9 #include "components/mus/ws/server_window_delegate.h"
10
11 namespace mus {
12
13 namespace ws {
14
15 struct WindowId;
16
17 class TestServerWindowDelegate : public ServerWindowDelegate {
18 public:
19 TestServerWindowDelegate();
20 ~TestServerWindowDelegate() override;
21
22 void set_root_window(const ServerWindow* window) { root_window_ = window; }
23
24 private:
25 // ServerWindowDelegate:
26 mus::SurfacesState* GetSurfacesState() override;
27 void OnScheduleWindowPaint(ServerWindow* window) override;
28 const ServerWindow* GetRootWindow(const ServerWindow* window) const override;
29 void ScheduleSurfaceDestruction(ServerWindow* window) override;
30
31 const ServerWindow* root_window_;
32 scoped_refptr<mus::SurfacesState> surfaces_state_;
33
34 DISALLOW_COPY_AND_ASSIGN(TestServerWindowDelegate);
35 };
36
37 } // namespace ws
38
39 } // namespace mus
40
41 #endif // COMPONENTS_MUS_WS_TEST_SERVER_WINDOW_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/mus/ws/test_change_tracker.cc ('k') | components/mus/ws/test_server_window_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698