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

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

Issue 187343007: Adding fading effect for paint rectangles in HUD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 441
442 // Note this rect is in layer space (not content space). 442 // Note this rect is in layer space (not content space).
443 void SetUpdateRect(const gfx::RectF& update_rect); 443 void SetUpdateRect(const gfx::RectF& update_rect);
444 444
445 const gfx::RectF& update_rect() const { return update_rect_; } 445 const gfx::RectF& update_rect() const { return update_rect_; }
446 446
447 virtual base::DictionaryValue* LayerTreeAsJson() const; 447 virtual base::DictionaryValue* LayerTreeAsJson() const;
448 448
449 void SetStackingOrderChanged(bool stacking_order_changed); 449 void SetStackingOrderChanged(bool stacking_order_changed);
450 450
451 bool LayerPropertyChanged() const { 451 bool LayerPropertyChanged() const { return layer_property_changed_; }
caseq 2014/03/05 13:20:59 Is this a related change?
malch 2014/03/05 14:43:26 Done.
452 return layer_property_changed_ || LayerIsAlwaysDamaged();
453 }
454 452
455 void ResetAllChangeTrackingForSubtree(); 453 void ResetAllChangeTrackingForSubtree();
456 454
457 virtual bool LayerIsAlwaysDamaged() const; 455 virtual bool LayerIsAlwaysDamaged() const;
458 456
459 LayerAnimationController* layer_animation_controller() { 457 LayerAnimationController* layer_animation_controller() {
460 return layer_animation_controller_.get(); 458 return layer_animation_controller_.get();
461 } 459 }
462 460
463 const LayerAnimationController* layer_animation_controller() const { 461 const LayerAnimationController* layer_animation_controller() const {
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 DrawProperties<LayerImpl> draw_properties_; 658 DrawProperties<LayerImpl> draw_properties_;
661 659
662 scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_; 660 scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_;
663 661
664 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 662 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
665 }; 663 };
666 664
667 } // namespace cc 665 } // namespace cc
668 666
669 #endif // CC_LAYERS_LAYER_IMPL_H_ 667 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698