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

Unified Diff: services/ui/surfaces/display_compositor.h

Issue 2449173003: Mus: Introduce DisplayCompositorClient mojo interface (Closed)
Patch Set: Explicitly add ui/gfx/geometry/mojo dependency 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/surfaces/BUILD.gn ('k') | services/ui/surfaces/display_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/display_compositor.h
diff --git a/services/ui/surfaces/display_compositor.h b/services/ui/surfaces/display_compositor.h
index 2498bac10c0091d389213ee3d34eeb4da6e8319b..13846d497b6b9833039e71b4dad3e387be22d4de 100644
--- a/services/ui/surfaces/display_compositor.h
+++ b/services/ui/surfaces/display_compositor.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
+#include "cc/ipc/display_compositor.mojom.h"
#include "cc/surfaces/surface_manager.h"
#include "cc/surfaces/surface_observer.h"
@@ -29,7 +30,7 @@ class DisplayCompositorClient;
class DisplayCompositor : public cc::SurfaceObserver,
public base::RefCounted<DisplayCompositor> {
public:
- explicit DisplayCompositor(DisplayCompositorClient* client);
+ explicit DisplayCompositor(cc::mojom::DisplayCompositorClientPtr client);
uint32_t GenerateNextClientId();
@@ -48,7 +49,7 @@ class DisplayCompositor : public cc::SurfaceObserver,
void OnSurfaceDamaged(const cc::SurfaceId& surface_id,
bool* changed) override;
- DisplayCompositorClient* const client_;
+ cc::mojom::DisplayCompositorClientPtr client_;
uint32_t next_client_id_;
cc::SurfaceManager manager_;
« no previous file with comments | « services/ui/surfaces/BUILD.gn ('k') | services/ui/surfaces/display_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698