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

Unified Diff: core/cross/cairo/layer.h

Issue 6320002: O2D: Several (unrelated) improvements:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 9 years, 11 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 | core/cross/cairo/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/cross/cairo/layer.h
===================================================================
--- core/cross/cairo/layer.h (revision 71191)
+++ core/cross/cairo/layer.h (working copy)
@@ -50,6 +50,8 @@
public:
typedef SmartPointer<Layer> Ref;
+ virtual ~Layer();
+
Pattern* pattern() const {
return pattern_;
}
@@ -82,6 +84,14 @@
y_ = y;
}
+ double z() const {
+ return z_;
+ }
+
+ void set_z(double z) {
+ z_ = z;
+ }
+
double width() const {
return width_;
}
@@ -132,6 +142,9 @@
// The y coordinate of the top-left corner of this layer.
double y_;
+ // The z coordinate of the layer (used only to determine stacking order).
+ double z_;
+
// The width of this layer.
double width_;
« no previous file with comments | « no previous file | core/cross/cairo/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698