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

Unified Diff: cc/content_layer.h

Issue 11360093: Mark layers that can use LCD text based on layer transform and opacity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed build Created 8 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
« no previous file with comments | « no previous file | cc/content_layer.cc » ('j') | cc/layer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/content_layer.h
diff --git a/cc/content_layer.h b/cc/content_layer.h
index 5505d85ffd33cc832798a5a8630584abb1a854de..eaeaa54b55865440905d5bdff671c52bf32d3395 100644
--- a/cc/content_layer.h
+++ b/cc/content_layer.h
@@ -49,12 +49,16 @@ protected:
explicit ContentLayer(ContentLayerClient*);
virtual ~ContentLayer();
+ virtual bool canUseLCDTextWillChange() OVERRIDE;
+ virtual void canUseLCDTextDidChange() OVERRIDE;
+
private:
virtual LayerUpdater* updater() const OVERRIDE;
virtual void createUpdaterIfNeeded() OVERRIDE;
ContentLayerClient* m_client;
scoped_refptr<LayerUpdater> m_updater;
+ int m_lcdTextChangeCount;
};
}
« no previous file with comments | « no previous file | cc/content_layer.cc » ('j') | cc/layer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698