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

Unified Diff: cc/surfaces/display.h

Issue 2369793002: WIP: Propagate SurfaceID up window tree hierarchy
Patch Set: Fix input events: EventDispatcher ignores container windows Created 4 years, 3 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 | « cc/surfaces/direct_compositor_frame_sink.cc ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.h
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
index 3abfa0b1206ea61de94ac5112065770c47787508..75ee4c92203df26a77e85ea9e4ac6e701ef8f415 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -13,6 +13,7 @@
#include "cc/resources/returned_resource.h"
#include "cc/scheduler/begin_frame_source.h"
#include "cc/surfaces/display_scheduler.h"
+#include "cc/surfaces/frame_sink_id.h"
#include "cc/surfaces/surface_aggregator.h"
#include "cc/surfaces/surface_id.h"
#include "cc/surfaces/surface_manager.h"
@@ -66,7 +67,7 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
void Initialize(DisplayClient* client,
SurfaceManager* surface_manager,
- uint32_t compositor_surface_namespace);
+ const FrameSinkId& frame_sink_id);
// device_scale_factor is used to communicate to the external window system
// what scale this was rendered at.
@@ -118,7 +119,7 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
DisplayClient* client_ = nullptr;
SurfaceManager* surface_manager_ = nullptr;
- uint32_t compositor_surface_namespace_;
+ FrameSinkId frame_sink_id_;
SurfaceId current_surface_id_;
gfx::Size current_surface_size_;
float device_scale_factor_ = 1.f;
« no previous file with comments | « cc/surfaces/direct_compositor_frame_sink.cc ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698