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

Unified Diff: content/browser/browser_plugin/browser_plugin_embedder.h

Issue 98073015: <webview>: Support zoom in WebUI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed RenderViewHost::SetZoomLevel 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/browser/browser_plugin/browser_plugin_embedder.h
diff --git a/content/browser/browser_plugin/browser_plugin_embedder.h b/content/browser/browser_plugin/browser_plugin_embedder.h
index c2c2a5062af53fcf6ad8d61c3264dd11f5342142..b7e89a796a59485b19f3ccc775d5bce1e645c0c0 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.h
+++ b/content/browser/browser_plugin/browser_plugin_embedder.h
@@ -67,6 +67,9 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver {
factory_ = factory;
}
+ // Sets the zoom level for all guests within this embedder.
+ void SetZoomLevel(double level);
+
// WebContentsObserver implementation.
virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
@@ -98,6 +101,8 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver {
BrowserPluginGuestManager* GetBrowserPluginGuestManager();
+ void GuestCallbackSetZoomLevel(double level, BrowserPluginGuest* guest);
+
// Message handlers.
void OnAllocateInstanceID(int request_id);

Powered by Google App Engine
This is Rietveld 408576698