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

Unified Diff: sky/engine/public/web/WebWidget.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/WebWidget.h
diff --git a/sky/engine/public/web/WebWidget.h b/sky/engine/public/web/WebWidget.h
index 946270dcf6e480abddb2363f898108d6d6443520..17ffb448fb3a492a923c551a4d4ab6fb1687c969 100644
--- a/sky/engine/public/web/WebWidget.h
+++ b/sky/engine/public/web/WebWidget.h
@@ -68,13 +68,6 @@ public:
// Called to resize the WebWidget.
virtual void resize(const WebSize&) { }
- // Resizes the unscaled pinch viewport. Normally the unscaled pinch
- // viewport is the same size as the main frame. The passed size becomes the
- // size of the viewport when unscaled (i.e. scale = 1). This is used to
- // shrink the visible viewport to allow things like the ChromeOS virtual
- // keyboard to overlay over content but allow scrolling it into view.
- virtual void resizePinchViewport(const WebSize&) { }
-
// Ends a group of resize events that was started with a call to
// willStartLiveResize.
virtual void willEndLiveResize() { }

Powered by Google App Engine
This is Rietveld 408576698