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

Side by Side Diff: cc/layers/content_layer.h

Issue 684543006: cc: Toggle LCD text at raster time instead of record time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcdraster: bettertestsyay Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_LAYERS_CONTENT_LAYER_H_ 5 #ifndef CC_LAYERS_CONTENT_LAYER_H_
6 #define CC_LAYERS_CONTENT_LAYER_H_ 6 #define CC_LAYERS_CONTENT_LAYER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/layers/tiled_layer.h" 10 #include "cc/layers/tiled_layer.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 LayerUpdater* Updater() const override; 62 LayerUpdater* Updater() const override;
63 63
64 private: 64 private:
65 // TiledLayer implementation. 65 // TiledLayer implementation.
66 void CreateUpdaterIfNeeded() override; 66 void CreateUpdaterIfNeeded() override;
67 67
68 void UpdateCanUseLCDText(); 68 void UpdateCanUseLCDText();
69 69
70 ContentLayerClient* client_; 70 ContentLayerClient* client_;
71 scoped_refptr<ContentLayerUpdater> updater_; 71 scoped_refptr<ContentLayerUpdater> updater_;
72 bool can_use_lcd_text_last_frame_; 72 bool can_use_lcd_text_for_update_;
73 bool ignore_lcd_text_change_;
reveman 2014/11/11 21:16:49 Suggestion that you can ignore if you like as this
danakj 2014/11/12 17:22:10 Done. Though poking around here I realized content
73 74
74 DISALLOW_COPY_AND_ASSIGN(ContentLayer); 75 DISALLOW_COPY_AND_ASSIGN(ContentLayer);
75 }; 76 };
76 77
77 } // namespace cc 78 } // namespace cc
78 #endif // CC_LAYERS_CONTENT_LAYER_H_ 79 #endif // CC_LAYERS_CONTENT_LAYER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698