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

Unified Diff: third_party/WebKit/public/platform/WebLayer.h

Issue 2410513002: Plumb preferred raster scale for background images from Blink to cc layers. (Closed)
Patch Set: none Created 4 years, 2 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
Index: third_party/WebKit/public/platform/WebLayer.h
diff --git a/third_party/WebKit/public/platform/WebLayer.h b/third_party/WebKit/public/platform/WebLayer.h
index 47a033417518bbb4961902213d4c85923d0d5bc1..a1c8c2871a437ff67dab669283cf6501213dd477 100644
--- a/third_party/WebKit/public/platform/WebLayer.h
+++ b/third_party/WebKit/public/platform/WebLayer.h
@@ -219,6 +219,9 @@ class WebLayer {
virtual uint32_t compositorMutableProperties() const = 0;
virtual void setHasWillChangeTransformHint(bool) = 0;
+ virtual void setPreferredRasterScale(float) = 0;
+ virtual bool hasPreferredRasterScale() = 0;
vmpstr 2016/10/14 21:22:34 Is this one used? If not, please remove.
chrishtr 2016/10/14 21:35:09 Done.
+ virtual void clearPreferredRasterScale() = 0;
};
} // namespace blink
« cc/layers/layer.h ('K') | « third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698