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

Unified Diff: cc/LayerChromium.h

Issue 10917153: Update cc snapshot to r127918 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/FloatQuadTest.cpp ('k') | cc/LayerChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/LayerChromium.h
diff --git a/cc/LayerChromium.h b/cc/LayerChromium.h
index aad1fe224e898afcc0fba46e34f49f4b8475f887..7b06a6d7bea27a9a8cdb0068c5c74ac97e96ccde 100644
--- a/cc/LayerChromium.h
+++ b/cc/LayerChromium.h
@@ -224,6 +224,10 @@ public:
float contentsScale() const { return m_contentsScale; }
void setContentsScale(float);
+ // When true, the layer's contents are not scaled by the current page scale factor.
+ void setBoundsContainPageScale(bool);
+ bool boundsContainPageScale() const { return m_boundsContainPageScale; }
+
// Returns true if any of the layer's descendants has content to draw.
bool descendantDrawsContent();
@@ -359,6 +363,7 @@ private:
// Uses target surface space.
IntRect m_drawableContentRect;
float m_contentsScale;
+ bool m_boundsContainPageScale;
WebKit::WebAnimationDelegate* m_layerAnimationDelegate;
WebKit::WebLayerScrollClient* m_layerScrollClient;
« no previous file with comments | « cc/FloatQuadTest.cpp ('k') | cc/LayerChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698