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

Unified Diff: cc/layers/content_layer_client.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/layers/content_layer_client.h
diff --git a/cc/layers/content_layer_client.h b/cc/layers/content_layer_client.h
index 0140513cbb866ad5c37b121057839aa9199ad32d..1350c9aadae2b871175fda0c7be5ec4028774e90 100644
--- a/cc/layers/content_layer_client.h
+++ b/cc/layers/content_layer_client.h
@@ -25,12 +25,10 @@ class CC_EXPORT ContentLayerClient {
virtual void PaintContents(SkCanvas* canvas,
const gfx::Rect& clip,
+ bool can_use_lcd_text,
+ bool contents_opaque,
GraphicsContextStatus gc_status) = 0;
- // Called by the content layer during the update phase.
- // If the client paints LCD text, it may want to invalidate the layer.
- virtual void DidChangeLayerCanUseLCDText() = 0;
-
// If true the layer may skip clearing the background before rasterizing,
// because it will cover any uncleared data with content.
virtual bool FillsBoundsCompletely() const = 0;

Powered by Google App Engine
This is Rietveld 408576698