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

Unified Diff: public/web/WebView.h

Issue 19281007: Allow zoom-in to a target rect when tapping multiple targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebView.h
diff --git a/public/web/WebView.h b/public/web/WebView.h
index 8d5cc5696564ba12b90a37c9c509e5c4ef2e0716..4bd7b1edfe91f70abc4ebd5e912ca614d724f3d7 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -214,6 +214,11 @@ public:
// 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 ----------------------------------------------------------------
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698