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

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

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/web/WebViewImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebViewImpl.cpp
diff --git a/sky/engine/web/WebViewImpl.cpp b/sky/engine/web/WebViewImpl.cpp
index 1051bc518139ea68c706814aaca7c795e61673c2..9abb54cf2370473cd9864230c050d982efdea980 100644
--- a/sky/engine/web/WebViewImpl.cpp
+++ b/sky/engine/web/WebViewImpl.cpp
@@ -111,14 +111,6 @@
namespace blink {
-// Change the text zoom level by kTextSizeMultiplierRatio each time the user
-// zooms text in or out (ie., change by 20%). The min and max values limit
-// text zoom to half and 3x the original text size. These three values match
-// those in Apple's port in WebKit/WebKit/WebView/WebView.mm
-const double WebView::textSizeMultiplierRatio = 1.2;
-const double WebView::minTextSizeMultiplier = 0.5;
-const double WebView::maxTextSizeMultiplier = 3.0;
-
// WebView ----------------------------------------------------------------
WebView* WebView::create(WebViewClient* client)
@@ -740,21 +732,6 @@ void WebViewImpl::enableTapHighlights(Vector<RawPtr<Node> >& highlightNodes)
}
}
-void WebViewImpl::animateDoubleTapZoom(const IntPoint& point)
-{
- //FIXME(sky)
-}
-
-void WebViewImpl::zoomToFindInPageRect(const WebRect& rect)
-{
- //FIXME(sky)
-}
-
-bool WebViewImpl::zoomToMultipleTargetsRect(const WebRect& rect)
-{
- return false;
-}
-
bool WebViewImpl::keyEventDefault(const WebKeyboardEvent& event)
{
LocalFrame* frame = focusedCoreFrame();
« no previous file with comments | « sky/engine/web/WebViewImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698