Index: Source/core/loader/HistoryItem.cpp |
diff --git a/Source/core/loader/HistoryItem.cpp b/Source/core/loader/HistoryItem.cpp |
index 179f361344d7286ab80f115d8c57ff448713ac46..29ac153f851c68f0ac8cd74a56a717e52df044f6 100644 |
--- a/Source/core/loader/HistoryItem.cpp |
+++ b/Source/core/loader/HistoryItem.cpp |
@@ -104,6 +104,16 @@ void HistoryItem::setTarget(const String& target) |
m_target = target; |
} |
+const FloatPoint& HistoryItem::pinchViewportScrollPoint() const |
+{ |
+ return m_pinchViewportScrollPoint; |
+} |
+ |
+void HistoryItem::setPinchViewportScrollPoint(const FloatPoint& point) |
+{ |
+ m_pinchViewportScrollPoint = point; |
+} |
+ |
const IntPoint& HistoryItem::scrollPoint() const |
{ |
return m_scrollPoint; |
@@ -118,6 +128,8 @@ void HistoryItem::clearScrollPoint() |
{ |
m_scrollPoint.setX(0); |
eseidel
2014/05/08 18:58:02
m_scrollPoint = IntPoint();
m_pinchViewportScrollP
bokan
2014/05/08 19:27:47
Done. (Though the latter is a FloatPoint)
|
m_scrollPoint.setY(0); |
+ m_pinchViewportScrollPoint.setX(0); |
+ m_pinchViewportScrollPoint.setY(0); |
} |
float HistoryItem::pageScaleFactor() const |