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

Unified Diff: cc/layer.h

Issue 12552004: Support bottom-right anchored fixed-position elements during a pinch gesture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reupload the same thing Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layer.cc » ('j') | cc/layer_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer.h
diff --git a/cc/layer.h b/cc/layer.h
index 7e8fc6caee7d007d439b52c9e3782eb061c8fa6b..adc09ad11d6f040cf8208b325e23b0ca7b95abc8 100644
--- a/cc/layer.h
+++ b/cc/layer.h
@@ -120,6 +120,12 @@ public:
void setFixedToContainerLayer(bool);
bool fixedToContainerLayer() const { return m_fixedToContainerLayer; }
+ void setFixedToRightEdge(bool);
jamesr 2013/03/07 21:56:01 Do we need this today? I think it's nice to have
+ bool fixedToRightEdge() const { return m_fixedToRightEdge; }
+
+ void setFixedToBottomEdge(bool);
+ bool fixedToBottomEdge() const { return m_fixedToBottomEdge; }
+
void setSublayerTransform(const gfx::Transform&);
const gfx::Transform& sublayerTransform() const { return m_sublayerTransform; }
@@ -377,6 +383,8 @@ private:
float m_anchorPointZ;
bool m_isContainerForFixedPositionLayers;
bool m_fixedToContainerLayer;
+ bool m_fixedToRightEdge;
+ bool m_fixedToBottomEdge;
bool m_isDrawable;
bool m_masksToBounds;
bool m_contentsOpaque;
« no previous file with comments | « no previous file | cc/layer.cc » ('j') | cc/layer_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698