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

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

Issue 2559413002: [1/5] Pass transformed rasterization policy from Blink (Closed)
Patch Set: rebase Created 3 years, 9 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 | « third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..17ad4a350a4696455835fa4cd3195fe610953b60 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 a uniform scale.
+ // 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698