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

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: Added backward compatibility, tests 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
Index: Source/web/WebViewImpl.h
diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h
index 621e6ca343a26f1fa883cd1b9d912698a1ffcde1..a92f03518cdd1b705a2512d028b9ccf1b38baca8 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;
@@ -627,10 +625,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?

Powered by Google App Engine
This is Rietveld 408576698