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

Unified Diff: cc/delegated_renderer_layer.h

Issue 12310179: cc: Without valid frame, delegated renderer layer is not drawable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: morecleanup Created 7 years, 10 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 | « no previous file | cc/delegated_renderer_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/delegated_renderer_layer.h
diff --git a/cc/delegated_renderer_layer.h b/cc/delegated_renderer_layer.h
index f8c847d74615eb32cd980e2af0fa960abf170f5b..8266b634264e4809607708089301fc9e8e5ca538 100644
--- a/cc/delegated_renderer_layer.h
+++ b/cc/delegated_renderer_layer.h
@@ -18,6 +18,7 @@ class CC_EXPORT DelegatedRendererLayer : public Layer {
virtual scoped_ptr<LayerImpl> createLayerImpl(LayerTreeImpl* tree_impl)
OVERRIDE;
virtual void pushPropertiesTo(LayerImpl* impl) OVERRIDE;
+ virtual bool drawsContent() const OVERRIDE;
// Set the size at which the frame should be displayed, with the origin at the
// layer's origin. This must always contain at least the layer's bounds. A
@@ -34,6 +35,7 @@ class CC_EXPORT DelegatedRendererLayer : public Layer {
private:
scoped_ptr<DelegatedFrameData> frame_data_;
gfx::RectF damage_in_frame_;
+ gfx::Size frame_size_;
gfx::Size display_size_;
};
« no previous file with comments | « no previous file | cc/delegated_renderer_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698