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

Unified Diff: cc/layers/layer.h

Issue 1946403003: Add fixed raster scale use counter histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review+fixup Created 4 years, 7 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/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index a5985b2c6e18798b1efb0364e0fbd85b420f37a3..1c0ac77a2e1f71b26c26552986798b23575c0639 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -508,6 +508,11 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
void OnOpacityIsPotentiallyAnimatingChanged(bool has_potential_animation);
bool HasActiveAnimationForTesting() const;
+ void SetHasWillChangeTransformHint(bool has_will_change);
+ bool has_will_change_transform_hint() const {
+ return has_will_change_transform_hint_;
+ }
+
protected:
friend class LayerImpl;
friend class TreeSynchronizer;
@@ -644,6 +649,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
bool force_render_surface_for_testing_ : 1;
bool has_render_surface_ : 1;
bool subtree_property_changed_ : 1;
+ bool has_will_change_transform_hint_ : 1;
Region non_fast_scrollable_region_;
Region touch_event_handler_region_;
gfx::PointF position_;
« no previous file with comments | « cc/blink/web_layer_impl.cc ('k') | cc/layers/layer.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698