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

Unified Diff: public/web/WebHistoryItem.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/web/tests/data/200-by-300-viewport.html ('k') | public/web/WebView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebHistoryItem.h
diff --git a/public/web/WebHistoryItem.h b/public/web/WebHistoryItem.h
index 33dc0e360574e055e8dc0a40af63bee4edc84ae5..a35f6eb853562371710b88fe98b74c91b4d534c2 100644
--- a/public/web/WebHistoryItem.h
+++ b/public/web/WebHistoryItem.h
@@ -41,6 +41,7 @@ namespace blink {
class WebHTTPBody;
class WebString;
class WebSerializedScriptValue;
+struct WebFloatPoint;
struct WebPoint;
template <typename T> class WebVector;
@@ -82,6 +83,9 @@ public:
BLINK_EXPORT WebString target() const;
BLINK_EXPORT void setTarget(const WebString&);
+ BLINK_EXPORT WebFloatPoint pinchViewportScrollOffset() const;
+ BLINK_EXPORT void setPinchViewportScrollOffset(const WebFloatPoint&);
+
BLINK_EXPORT WebPoint scrollOffset() const;
BLINK_EXPORT void setScrollOffset(const WebPoint&);
« no previous file with comments | « Source/web/tests/data/200-by-300-viewport.html ('k') | public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698