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

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

Issue 1697613002: cc :: Move tracking of layer_property_changed to main thread (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_H_
6 #define CC_LAYERS_LAYER_IMPL_H_ 6 #define CC_LAYERS_LAYER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 void SetUpdateRect(const gfx::Rect& update_rect); 570 void SetUpdateRect(const gfx::Rect& update_rect);
571 const gfx::Rect& update_rect() const { return update_rect_; } 571 const gfx::Rect& update_rect() const { return update_rect_; }
572 572
573 void AddDamageRect(const gfx::Rect& damage_rect); 573 void AddDamageRect(const gfx::Rect& damage_rect);
574 const gfx::Rect& damage_rect() const { return damage_rect_; } 574 const gfx::Rect& damage_rect() const { return damage_rect_; }
575 575
576 virtual base::DictionaryValue* LayerTreeAsJson() const; 576 virtual base::DictionaryValue* LayerTreeAsJson() const;
577 577
578 void SetStackingOrderChanged(bool stacking_order_changed); 578 void SetStackingOrderChanged(bool stacking_order_changed);
579 579
580 bool LayerPropertyChanged() const { return layer_property_changed_; } 580 bool LayerPropertyChanged() const;
581 581
582 void ResetAllChangeTrackingForSubtree(); 582 void ResetAllChangeTrackingForSubtree();
583 583
584 LayerAnimationController* layer_animation_controller() { 584 LayerAnimationController* layer_animation_controller() {
585 return layer_animation_controller_.get(); 585 return layer_animation_controller_.get();
586 } 586 }
587 587
588 const LayerAnimationController* layer_animation_controller() const { 588 const LayerAnimationController* layer_animation_controller() const {
589 return layer_animation_controller_.get(); 589 return layer_animation_controller_.get();
590 } 590 }
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 // If true, the layer or one of its descendants has a touch handler. 887 // If true, the layer or one of its descendants has a touch handler.
888 bool layer_or_descendant_has_touch_handler_; 888 bool layer_or_descendant_has_touch_handler_;
889 bool sorted_for_recursion_; 889 bool sorted_for_recursion_;
890 890
891 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 891 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
892 }; 892 };
893 893
894 } // namespace cc 894 } // namespace cc
895 895
896 #endif // CC_LAYERS_LAYER_IMPL_H_ 896 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698