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

Unified Diff: Source/core/loader/HistoryItem.h

Issue 263853008: Added pinch viewport offset to history item. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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 | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/loader/HistoryItem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/HistoryItem.h
diff --git a/Source/core/loader/HistoryItem.h b/Source/core/loader/HistoryItem.h
index 7a8733ed0f22b948e75f1f4275f062fefb989e0b..35307903a45651c3d9d1ad1e6022230950a8a0b8 100644
--- a/Source/core/loader/HistoryItem.h
+++ b/Source/core/loader/HistoryItem.h
@@ -28,6 +28,7 @@
#define HistoryItem_h
#include "bindings/v8/SerializedScriptValue.h"
+#include "platform/geometry/FloatPoint.h"
#include "platform/geometry/IntPoint.h"
#include "platform/weborigin/Referrer.h"
#include "wtf/RefCounted.h"
@@ -64,6 +65,8 @@ public:
FormData* formData();
const AtomicString& formContentType() const;
+ const FloatPoint& pinchViewportScrollPoint() const;
+ void setPinchViewportScrollPoint(const FloatPoint&);
const IntPoint& scrollPoint() const;
void setScrollPoint(const IntPoint&);
void clearScrollPoint();
@@ -104,6 +107,7 @@ private:
Referrer m_referrer;
String m_target;
+ FloatPoint m_pinchViewportScrollPoint;
IntPoint m_scrollPoint;
float m_pageScaleFactor;
Vector<String> m_documentStateVector;
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/loader/HistoryItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698