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

Unified Diff: services/ui/ws/window_server.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/ws/test_server_window_delegate.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_server.h
diff --git a/services/ui/ws/window_server.h b/services/ui/ws/window_server.h
index d76131cce10edb6d550462bfe4b6584072cae159..e6228201a61f012bcd66eaf60d7ad15d5d364d01 100644
--- a/services/ui/ws/window_server.h
+++ b/services/ui/ws/window_server.h
@@ -14,7 +14,7 @@
#include "base/macros.h"
#include "base/optional.h"
-#include "cc/ipc/display_compositor.mojom.h"
+#include "cc/ipc/frame_sink_manager.mojom.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "services/ui/public/interfaces/window_manager_window_tree_factory.mojom.h"
#include "services/ui/public/interfaces/window_tree.mojom.h"
@@ -49,7 +49,7 @@ class WindowServer : public ServerWindowDelegate,
public GpuHostDelegate,
public UserDisplayManagerDelegate,
public UserIdTrackerObserver,
- public cc::mojom::DisplayCompositorClient {
+ public cc::mojom::FrameSinkManagerClient {
public:
explicit WindowServer(WindowServerDelegate* delegate);
~WindowServer() override;
@@ -229,7 +229,7 @@ class WindowServer : public ServerWindowDelegate,
WindowManagerState* GetWindowManagerStateForUser(const UserId& user_id);
// ServerWindowDelegate:
- cc::mojom::DisplayCompositor* GetDisplayCompositor() override;
+ cc::mojom::FrameSinkManager* GetFrameSinkManager() override;
// UserDisplayManagerDelegate:
bool GetFrameDecorationsForUser(
@@ -335,7 +335,7 @@ class WindowServer : public ServerWindowDelegate,
// GpuHostDelegate:
void OnGpuServiceInitialized() override;
- // cc::mojom::DisplayCompositorClient:
+ // cc::mojom::FrameSinkManagerClient:
void OnSurfaceCreated(const cc::SurfaceInfo& surface_info) override;
// UserIdTrackerObserver:
@@ -382,10 +382,10 @@ class WindowServer : public ServerWindowDelegate,
cc::SurfaceId root_surface_id_;
- mojo::Binding<cc::mojom::DisplayCompositorClient>
- display_compositor_client_binding_;
- // State for rendering into a Surface.
- cc::mojom::DisplayCompositorPtr display_compositor_;
+ // Provides interfaces to create and manage FrameSinks.
+ mojo::Binding<cc::mojom::FrameSinkManagerClient>
+ frame_sink_manager_client_binding_;
+ cc::mojom::FrameSinkManagerPtr frame_sink_manager_;
DISALLOW_COPY_AND_ASSIGN(WindowServer);
};
« no previous file with comments | « services/ui/ws/test_server_window_delegate.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698