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

Unified Diff: cc/layers/surface_layer_impl.h

Issue 1430363002: List all child surfaces (including occluded) in CompositorFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | cc/layers/surface_layer_impl.cc » ('j') | cc/surfaces/surface_aggregator.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/surface_layer_impl.h
diff --git a/cc/layers/surface_layer_impl.h b/cc/layers/surface_layer_impl.h
index 2bf6a9a008a876c283e6b946725d0d1fe39f745f..4d2c48b4059975acd7a044e60e2c2a2a6c4d2782 100644
--- a/cc/layers/surface_layer_impl.h
+++ b/cc/layers/surface_layer_impl.h
@@ -22,6 +22,7 @@ class CC_EXPORT SurfaceLayerImpl : public LayerImpl {
void SetSurfaceId(SurfaceId surface_id);
void SetSurfaceScale(float scale);
void SetSurfaceSize(const gfx::Size& size);
+ SurfaceId surface_id() const { return surface_id_; }
// LayerImpl overrides.
scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
« no previous file with comments | « no previous file | cc/layers/surface_layer_impl.cc » ('j') | cc/surfaces/surface_aggregator.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698