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

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

Issue 2559413002: [1/5] Pass transformed rasterization policy from Blink (Closed)
Patch Set: Created 4 years 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/WebContentLayer.h
diff --git a/third_party/WebKit/public/platform/WebContentLayer.h b/third_party/WebKit/public/platform/WebContentLayer.h
index 5cec2c048f471a9dc667284de2495d736cc7ed8d..944e80530b172e9e776afdc86b013ae71f9babe6 100644
--- a/third_party/WebKit/public/platform/WebContentLayer.h
+++ b/third_party/WebKit/public/platform/WebContentLayer.h
@@ -37,6 +37,12 @@ class WebContentLayer {
// The WebContentLayer has ownership of this wrapper.
virtual WebLayer* layer() = 0;
+
+ // Normally content layers are rasterized in a space with both axis and
+ // origin aligned to local layer space, optionally with an uniform scale.
enne (OOO) 2017/01/03 22:53:01 a uniform
+ // With this flag set to true, the compositor may raster contents in any
+ // space, e.g. device pixel space.
+ virtual void setAllowTransformedRasterization(bool) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698