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

Unified Diff: third_party/WebKit/public/web/WebView.h

Issue 1804023002: Fix page zoom to be frame-centric for out-of-process frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address alexmos@ comments, run two experiments. Created 4 years, 8 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: third_party/WebKit/public/web/WebView.h
diff --git a/third_party/WebKit/public/web/WebView.h b/third_party/WebKit/public/web/WebView.h
index a04be6d1b3447e5faa34fec1a95e41773138919e..0618124be1c6e489a2ac373316bc8be83279ade7 100644
--- a/third_party/WebKit/public/web/WebView.h
+++ b/third_party/WebKit/public/web/WebView.h
@@ -205,6 +205,9 @@ public:
// change.
virtual double setZoomLevel(double) = 0;
+ // Sets the zoom level for the specified WebLocalFrame.
alexmos 2016/04/07 01:20:56 nit: add "and its local descendants" or something
wjmaclean 2016/04/07 12:55:36 This disappears in the new patch.
+ virtual double setZoomLevelForFrame(WebLocalFrame*, double zoomLevel) = 0;
+
// Updates the zoom limits for this view.
virtual void zoomLimitsChanged(double minimumZoomLevel,
double maximumZoomLevel) = 0;

Powered by Google App Engine
This is Rietveld 408576698