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

Unified Diff: cc/layers/layer_impl.h

Issue 2254543004: cc : Delete LayerImpl::transform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use test properties transform Created 4 years, 4 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/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 0be92f66c84242b0f3197955b18a32220ea9e448..c3bfa568c94492ffda867bbb11c49e13741f7486 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -140,7 +140,7 @@ class CC_EXPORT LayerImpl {
bool is_clipped() const { return draw_properties_.is_clipped; }
- void UpdatePropertyTreeTransform();
+ void UpdatePropertyTreeTransform(const gfx::Transform& transform);
void UpdatePropertyTreeTransformIsAnimated(bool is_animated);
void UpdatePropertyTreeOpacity(float opacity);
void UpdatePropertyTreeScrollOffset();
@@ -205,6 +205,7 @@ class CC_EXPORT LayerImpl {
bool contents_opaque() const { return contents_opaque_; }
float Opacity() const;
+ const gfx::Transform& Transform() const;
void SetElementId(ElementId element_id);
ElementId element_id() const { return element_id_; }
@@ -356,8 +357,6 @@ class CC_EXPORT LayerImpl {
return touch_event_handler_region_;
}
- void SetTransform(const gfx::Transform& transform);
- const gfx::Transform& transform() const { return transform_; }
bool TransformIsAnimating() const;
bool HasPotentiallyRunningTransformAnimation() const;
@@ -542,7 +541,6 @@ class CC_EXPORT LayerImpl {
SkXfermode::Mode draw_blend_mode_;
gfx::PointF position_;
- gfx::Transform transform_;
gfx::Rect clip_rect_in_target_space_;
int transform_tree_index_;
« 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