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

Unified Diff: cc/LayerChromium.h

Issue 10909255: Support high DPI scrollbar on top level web frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. 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/CCScrollbarLayerImpl.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 0b4fe63437cc334ece42681dd94c9e4e4fafc6d4..6f8a147a03eb815de1775eceabc401719728c0bc 100644
--- a/cc/LayerChromium.h
+++ b/cc/LayerChromium.h
@@ -230,6 +230,7 @@ public:
void setContentsScale(float);
// When true, the layer's contents are not scaled by the current page scale factor.
+ // setBoundsContainPageScale recursively sets the value on all child layers.
void setBoundsContainPageScale(bool);
bool boundsContainPageScale() const { return m_boundsContainPageScale; }
@@ -271,6 +272,8 @@ protected:
void setNeedsCommit();
+ IntRect layerRectToContentRect(const WebKit::WebRect& layerRect);
+
// This flag is set when layer need repainting/updating.
bool m_needsDisplay;
« no previous file with comments | « cc/CCScrollbarLayerImpl.cpp ('k') | cc/LayerChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698