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

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: rebase+fix 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
« no previous file with comments | « cc/blink/web_layer_impl.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index f39dfe1efc8d2faaf1413a1dfc7178e65f771fb6..58c8a72ccb720c5530d3ca72ae6c3e6c7f9c173e 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -500,6 +500,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;
@@ -635,6 +640,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
bool should_check_backface_visibility_ : 1;
bool force_render_surface_for_testing_ : 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698