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

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

Issue 2882543002: Remove Layer{Impl}::HasOnlyTranslationTransforms. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 void AppendDebugBorderQuad(RenderPass* render_pass, 473 void AppendDebugBorderQuad(RenderPass* render_pass,
474 const gfx::Size& bounds, 474 const gfx::Size& bounds,
475 const SharedQuadState* shared_quad_state, 475 const SharedQuadState* shared_quad_state,
476 AppendQuadsData* append_quads_data, 476 AppendQuadsData* append_quads_data,
477 SkColor color, 477 SkColor color,
478 float width) const; 478 float width) const;
479 479
480 gfx::Rect GetScaledEnclosingRectInTargetSpace(float scale) const; 480 gfx::Rect GetScaledEnclosingRectInTargetSpace(float scale) const;
481 481
482 private: 482 private:
483 bool HasOnlyTranslationTransforms() const;
484
485 // This includes all animations, even those that are finished but haven't yet 483 // This includes all animations, even those that are finished but haven't yet
486 // been deleted. 484 // been deleted.
487 bool HasAnyAnimationTargetingProperty(TargetProperty::Type property) const; 485 bool HasAnyAnimationTargetingProperty(TargetProperty::Type property) const;
488 486
489 void ValidateQuadResourcesInternal(DrawQuad* quad) const; 487 void ValidateQuadResourcesInternal(DrawQuad* quad) const;
490 488
491 virtual const char* LayerTypeAsString() const; 489 virtual const char* LayerTypeAsString() const;
492 490
493 int layer_id_; 491 int layer_id_;
494 LayerTreeImpl* layer_tree_impl_; 492 LayerTreeImpl* layer_tree_impl_;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 bool needs_show_scrollbars_ : 1; 579 bool needs_show_scrollbars_ : 1;
582 580
583 bool raster_even_if_not_in_rsll_ : 1; 581 bool raster_even_if_not_in_rsll_ : 1;
584 582
585 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 583 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
586 }; 584 };
587 585
588 } // namespace cc 586 } // namespace cc
589 587
590 #endif // CC_LAYERS_LAYER_IMPL_H_ 588 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698