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

Unified Diff: sky/engine/web/WebViewImpl.h

Issue 714013002: Remove some more zoom-related code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: merge to ToT Created 6 years, 1 month 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 | « sky/engine/public/web/WebViewClient.h ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebViewImpl.h
diff --git a/sky/engine/web/WebViewImpl.h b/sky/engine/web/WebViewImpl.h
index 254dac7069de0527b9223fdd6beb24ef67cbd592..3109922c061b683211b1863bd44af6e69928273b 100644
--- a/sky/engine/web/WebViewImpl.h
+++ b/sky/engine/web/WebViewImpl.h
@@ -140,11 +140,6 @@ public:
virtual void scrollFocusedNodeIntoRect(const WebRect&) override;
virtual void zoomToFindInPageRect(const WebRect&) override;
virtual void advanceFocus(bool reverse) override;
- virtual double zoomLevel() override;
- virtual double setZoomLevel(double) override;
- virtual void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) override;
- virtual float textZoomFactor() override;
- virtual float setTextZoomFactor(float) override;
virtual bool zoomToMultipleTargetsRect(const WebRect&) override;
virtual void setMainFrameScrollOffset(const WebPoint&) override;
virtual void resetScrollAndScaleState() override;
@@ -186,7 +181,6 @@ public:
void setIgnoreInputEvents(bool newValue);
void setBackgroundColorOverride(WebColor);
- void setZoomFactorOverride(float);
Color baseBackgroundColor() const { return m_baseBackgroundColor; }
@@ -401,14 +395,6 @@ private:
// dragged by the time a drag is initiated.
WebPoint m_lastMouseDownPoint;
- // Keeps track of the current zoom level. 0 means no zoom, positive numbers
- // mean zoom in, negative numbers mean zoom out.
- double m_zoomLevel;
-
- double m_minimumZoomLevel;
-
- double m_maximumZoomLevel;
-
bool m_doingDragAndDrop;
bool m_ignoreInputEvents;
@@ -464,7 +450,6 @@ private:
bool m_showScrollBottleneckRects;
WebColor m_baseBackgroundColor;
WebColor m_backgroundColorOverride;
- float m_zoomFactorOverride;
bool m_userGestureObserved;
};
« no previous file with comments | « sky/engine/public/web/WebViewClient.h ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698