From 0f077a5f3e29d65a06794f44c31703421e1099b5 Mon Sep 17 00:00:00 2001 From: "jamesr@chromium.org" Date: Sat, 8 Sep 2012 01:45:24 +0000 Subject: Update cc snapshot to r127918 TBR=nduca@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/10917153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155554 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/LayerChromium.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cc/LayerChromium.h') diff --git a/cc/LayerChromium.h b/cc/LayerChromium.h index aad1fe2..7b06a6d 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; -- cgit v1.1