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

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..56393e1566288e20b005b40d5227501680033335 100644
--- a/third_party/WebKit/public/platform/WebLayer.h
+++ b/third_party/WebKit/public/platform/WebLayer.h
@@ -219,6 +219,8 @@ class WebLayer {
virtual uint32_t compositorMutableProperties() const = 0;
virtual void setHasWillChangeTransformHint(bool) = 0;
+ virtual void setPreferredRasterScale(float) = 0;
+ virtual void clearPreferredRasterScale() = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698