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

Unified Diff: ui/compositor/layer.h

Issue 13725015: Merge ui::Layer's concept of position with cc::Layer's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « no previous file | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index 61ea5b2c358745f30b8a9389935d08fa537f39cf..d7c6a5e1e1885f0d284b74d8893f958938e30bd8 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -234,7 +234,6 @@ class COMPOSITOR_EXPORT Layer
// cc::Layer.
static gfx::Transform ConvertTransformToCCTransform(
const gfx::Transform& transform,
- const gfx::Rect& bounds,
float device_scale_factor);
// See description in View for details
@@ -369,6 +368,7 @@ class COMPOSITOR_EXPORT Layer
void CreateWebLayer();
void RecomputeCCTransformFromTransform(const gfx::Transform& transform);
void RecomputeDrawsContentAndUVRect();
+ void RecomputePosition();
// Set all filters which got applied to the layer.
void SetLayerFilters();
« no previous file with comments | « no previous file | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698