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

Unified Diff: cc/resources/layer_updater.h

Issue 684653004: Plumb can_use_lcd_text, contents_opaque directly to ContentLayerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: cc/resources/layer_updater.h
diff --git a/cc/resources/layer_updater.h b/cc/resources/layer_updater.h
index a5eb0a11da744538d892033d04fea2656811ae2a..b30cbccd78c8150d4ea72e7a47c2a2775fd54814 100644
--- a/cc/resources/layer_updater.h
+++ b/cc/resources/layer_updater.h
@@ -57,6 +57,7 @@ class CC_EXPORT LayerUpdater : public base::RefCounted<LayerUpdater> {
// Set true by the layer when it is known that the entire output is going to
// be opaque.
virtual void SetOpaque(bool opaque) {}
+ virtual void SetCanUseLCDText(bool can_use_lcd_text) {}
// Set true by the layer when it is known that the entire output bounds will
// be rasterized.
virtual void SetFillsBoundsCompletely(bool fills_bounds) {}

Powered by Google App Engine
This is Rietveld 408576698