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

Unified Diff: cc/resources/content_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/content_layer_updater.h
diff --git a/cc/resources/content_layer_updater.h b/cc/resources/content_layer_updater.h
index 4ba18ba9e4019475a802d5228780fc893d42b21f..faf753a43750342a13be74d0a49a55bb2205c668 100644
--- a/cc/resources/content_layer_updater.h
+++ b/cc/resources/content_layer_updater.h
@@ -23,6 +23,7 @@ class CC_EXPORT ContentLayerUpdater : public LayerUpdater {
public:
void set_rendering_stats_instrumentation(RenderingStatsInstrumentation* rsi);
void SetOpaque(bool opaque) override;
+ void SetCanUseLCDText(bool can_use_lcd_text) override;
void SetFillsBoundsCompletely(bool fills_bounds) override;
void SetBackgroundColor(SkColor background_color) override;
@@ -54,6 +55,7 @@ class CC_EXPORT ContentLayerUpdater : public LayerUpdater {
// True when it is known that all output pixels will be opaque.
bool layer_is_opaque_;
+ bool layer_can_use_lcd_text_;
// True when it is known that all output pixels will be filled.
bool layer_fills_bounds_completely_;

Powered by Google App Engine
This is Rietveld 408576698