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

Unified Diff: Source/web/WebViewImpl.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/WebHistoryItem.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.h
diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h
index 08f38ebe41608c44e1b4e82845b54111a51c0d1a..28bb6967538f12e3c5023f7bbc43a7a94009cfc6 100644
--- a/Source/web/WebViewImpl.h
+++ b/Source/web/WebViewImpl.h
@@ -189,8 +189,6 @@ public:
virtual WebFloatPoint pinchViewportOffset() const OVERRIDE;
virtual float minimumPageScaleFactor() const OVERRIDE;
virtual float maximumPageScaleFactor() const OVERRIDE;
- virtual void saveScrollAndScaleState() OVERRIDE;
- virtual void restoreScrollAndScaleState() OVERRIDE;
virtual void resetScrollAndScaleState() OVERRIDE;
virtual void setIgnoreViewportTagScaleLimits(bool) OVERRIDE;
virtual WebSize contentsPreferredMinimumSize() OVERRIDE;
@@ -628,10 +626,6 @@ private:
PageScaleConstraintsSet m_pageScaleConstraintsSet;
- // Saved page scale state.
- float m_savedPageScaleFactor; // 0 means that no page scale factor is saved.
- WebCore::IntSize m_savedScrollOffset;
-
// The scale moved to by the latest double tap zoom, if any.
float m_doubleTapZoomPageScaleFactor;
// Have we sent a double-tap zoom and not yet heard back the scale?
« no previous file with comments | « Source/web/WebHistoryItem.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698