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

Unified Diff: sky/engine/public/web/WebView.h

Issue 714783003: Remove some straggling zoom-related code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/WebSettings.h ('k') | sky/engine/web/WebSettingsImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/public/web/WebView.h
diff --git a/sky/engine/public/web/WebView.h b/sky/engine/public/web/WebView.h
index aae9eb301db0587708bbe55bb1b02a65dc435ace..508428a89e85bbcad205f9c9fd8684532c57d954 100644
--- a/sky/engine/public/web/WebView.h
+++ b/sky/engine/public/web/WebView.h
@@ -55,10 +55,6 @@ struct WebFloatPoint;
class WebView : public WebWidget {
public:
- BLINK_EXPORT static const double textSizeMultiplierRatio;
- BLINK_EXPORT static const double minTextSizeMultiplier;
- BLINK_EXPORT static const double maxTextSizeMultiplier;
-
// Initialization ------------------------------------------------------
// Creates a WebView that is NOT yet initialized. You will need to
@@ -150,14 +146,6 @@ public:
// previous element in the tab sequence (if reverse is true).
virtual void advanceFocus(bool reverse) { }
- // Animate a scale into the specified find-in-page rect.
- virtual void zoomToFindInPageRect(const WebRect&) = 0;
-
- // Animate a scale into the specified rect where multiple targets were
- // found from previous tap gesture.
- // Returns false if it doesn't do any zooming.
- virtual bool zoomToMultipleTargetsRect(const WebRect&) = 0;
-
// Zoom ----------------------------------------------------------------
@@ -172,7 +160,6 @@ public:
// Returns the "preferred" contents size, defined as the preferred minimum width of the main document's contents
// and the minimum height required to display the main document without scrollbars.
- // The returned size has the page zoom factor applied.
virtual WebSize contentsPreferredMinimumSize() = 0;
// The ratio of the current device's screen DPI to the target device's screen DPI.
« no previous file with comments | « sky/engine/public/web/WebSettings.h ('k') | sky/engine/web/WebSettingsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698