Chromium Code Reviews| Index: cc/content_layer.h |
| diff --git a/cc/content_layer.h b/cc/content_layer.h |
| index 5505d85ffd33cc832798a5a8630584abb1a854de..3090cb9b6640e83e614410a1e282bf7c1ecf6d6b 100644 |
| --- a/cc/content_layer.h |
| +++ b/cc/content_layer.h |
| @@ -53,8 +53,19 @@ private: |
| virtual LayerUpdater* updater() const OVERRIDE; |
| virtual void createUpdaterIfNeeded() OVERRIDE; |
| + void syncCanUseLCDText(); |
| + // Called when LCD text setting is about to potentially change. |
| + // If this function returns true, the setting is allowed to change. |
| + // If it returns false, the setting is not changed. |
| + bool canUseLCDTextWillChange() const; |
| + void canUseLCDTextDidChange(); |
| + |
| ContentLayerClient* m_client; |
| scoped_refptr<LayerUpdater> m_updater; |
| + |
| + bool m_canUseLCDText; |
|
enne (OOO)
2012/12/12 17:56:52
You need to initialize this in the constructor.
alokp
2012/12/12 19:03:04
Done.
|
| + int m_lcdTextChangeCount; |
| + static const int kLCDTextMaxChangeCount; |
| }; |
| } |