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

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

Issue 681583002: Remove pinch viewports. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: upload synced patch Created 6 years, 2 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: sky/engine/public/web/WebView.h
diff --git a/sky/engine/public/web/WebView.h b/sky/engine/public/web/WebView.h
index 0891077b350a6fc786d4277e6051cff0c86f36aa..5094ac70763ad2d29075b607cf1c0b665b3598eb 100644
--- a/sky/engine/public/web/WebView.h
+++ b/sky/engine/public/web/WebView.h
@@ -196,15 +196,6 @@ public:
// virtual viewport pinch.
virtual void setMainFrameScrollOffset(const WebPoint& origin) = 0;
- // Sets the offset of the pinch-to-zoom viewport within the main frame, in
- // partial CSS pixels. The offset will be clamped so the pinch viewport
- // stays within the frame's bounds.
- virtual void setPinchViewportOffset(const WebFloatPoint&) = 0;
-
- // Gets the pinch viewport's current offset within the page's main frame,
- // in partial CSS pixels.
- virtual WebFloatPoint pinchViewportOffset() const = 0;
-
// Reset any saved values for the scroll and scale state.
virtual void resetScrollAndScaleState() = 0;

Powered by Google App Engine
This is Rietveld 408576698