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

Unified Diff: services/ui/ws/server_window_surface.h

Issue 2383373002: Reduce SurfaceIdAllocator usage and tie SurfaceFactory to a single FrameSinkId (Closed)
Patch Set: Fix TestRenderViewHost + Mac Created 4 years, 2 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
Index: services/ui/ws/server_window_surface.h
diff --git a/services/ui/ws/server_window_surface.h b/services/ui/ws/server_window_surface.h
index c5922b3f955a6887e2fa42db7e0bf09262607759..1211731cc1969705bb22638578d4d14fee0846e7 100644
--- a/services/ui/ws/server_window_surface.h
+++ b/services/ui/ws/server_window_surface.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "cc/ipc/compositor_frame.mojom.h"
+#include "cc/surfaces/frame_sink_id.h"
#include "cc/surfaces/surface_factory.h"
#include "cc/surfaces/surface_factory_client.h"
#include "cc/surfaces/surface_id.h"
@@ -60,6 +61,8 @@ class ServerWindowSurface : public mojom::Surface,
void ReturnResources(const cc::ReturnedResourceArray& resources) override;
void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override;
+ cc::FrameSinkId frame_sink_id_;
sky 2016/10/03 19:18:25 Same comment here about const.
Fady Samuel 2016/10/03 19:45:29 Done.
+
ServerWindowSurfaceManager* manager_; // Owns this.
gfx::Size last_submitted_frame_size_;

Powered by Google App Engine
This is Rietveld 408576698