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

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

Issue 2797453002: Rename DisplayCompositor to MojoFrameSinkManager. (Closed)
Patch Set: Rebase. Created 3 years, 8 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 | « services/ui/ws/server_window_delegate.h ('k') | services/ui/ws/test_server_window_delegate.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 2014 The Chromium Authors. All rights reserved. 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 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_TEST_SERVER_WINDOW_DELEGATE_H_ 5 #ifndef SERVICES_UI_WS_TEST_SERVER_WINDOW_DELEGATE_H_
6 #define SERVICES_UI_WS_TEST_SERVER_WINDOW_DELEGATE_H_ 6 #define SERVICES_UI_WS_TEST_SERVER_WINDOW_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "services/ui/ws/server_window_delegate.h" 9 #include "services/ui/ws/server_window_delegate.h"
10 10
11 namespace cc {
12 namespace mojom {
13 class DisplayCompositor;
14 }
15 }
16
17 namespace ui { 11 namespace ui {
18 namespace ws { 12 namespace ws {
19 13
20 class TestServerWindowDelegate : public ServerWindowDelegate { 14 class TestServerWindowDelegate : public ServerWindowDelegate {
21 public: 15 public:
22 TestServerWindowDelegate(); 16 TestServerWindowDelegate();
23 ~TestServerWindowDelegate() override; 17 ~TestServerWindowDelegate() override;
24 18
25 void set_root_window(ServerWindow* window) { root_window_ = window; } 19 void set_root_window(ServerWindow* window) { root_window_ = window; }
26 20
27 private: 21 private:
28 // ServerWindowDelegate: 22 // ServerWindowDelegate:
29 cc::mojom::DisplayCompositor* GetDisplayCompositor() override; 23 cc::mojom::FrameSinkManager* GetFrameSinkManager() override;
30 ServerWindow* GetRootWindow(const ServerWindow* window) override; 24 ServerWindow* GetRootWindow(const ServerWindow* window) override;
31 25
32 ServerWindow* root_window_ = nullptr; 26 ServerWindow* root_window_ = nullptr;
33 27
34 DISALLOW_COPY_AND_ASSIGN(TestServerWindowDelegate); 28 DISALLOW_COPY_AND_ASSIGN(TestServerWindowDelegate);
35 }; 29 };
36 30
37 } // namespace ws 31 } // namespace ws
38 } // namespace ui 32 } // namespace ui
39 33
40 #endif // SERVICES_UI_WS_TEST_SERVER_WINDOW_DELEGATE_H_ 34 #endif // SERVICES_UI_WS_TEST_SERVER_WINDOW_DELEGATE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/server_window_delegate.h ('k') | services/ui/ws/test_server_window_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698