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

Unified Diff: content/public/browser/web_contents.h

Issue 98073015: <webview>: Support zoom in WebUI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated comment Created 6 years, 11 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: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 52751bce99ffd344972b44e95783a14e50e52351..3ddd84eef132342ab65533b58b7b7b13c59c76ae 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -482,6 +482,10 @@ class WebContents : public PageNavigator,
// removed since we can then embed iframes in different processes.
virtual bool IsSubframe() const = 0;
+ // Sets the zoom level for the current main frame and all BrowserPluginGuests
nasko 2014/01/08 21:59:06 nit: My point was that it affects all frames, not
Fady Samuel 2014/01/09 16:19:45 Done.
+ // within the page.
+ virtual void SetZoomLevel(double level) = 0;
+
#if defined(OS_ANDROID)
CONTENT_EXPORT static WebContents* FromJavaWebContents(
jobject jweb_contents_android);

Powered by Google App Engine
This is Rietveld 408576698