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

Unified Diff: components/plugins/renderer/webview_plugin.h

Issue 296983017: WebViewPlugin: Apply Prefs to WebSettings before creating a WebLocalFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | components/plugins/renderer/webview_plugin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/plugins/renderer/webview_plugin.h
diff --git a/components/plugins/renderer/webview_plugin.h b/components/plugins/renderer/webview_plugin.h
index 1d2d920310049ec372e684ad57660af8ee15698c..9384522d0f267e458b143d7ea709e62fbe62f343 100644
--- a/components/plugins/renderer/webview_plugin.h
+++ b/components/plugins/renderer/webview_plugin.h
@@ -47,8 +47,6 @@ class WebViewPlugin : public blink::WebPlugin,
virtual void PluginDestroyed() = 0;
};
- explicit WebViewPlugin(Delegate* delegate);
-
// Convenience method to set up a new WebViewPlugin using |preferences|
// and displaying |html_data|. |url| should be a (fake) chrome:// URL; it is
// only used for navigation and never actually resolved.
@@ -137,6 +135,7 @@ class WebViewPlugin : public blink::WebPlugin,
private:
friend class base::DeleteHelper<WebViewPlugin>;
+ WebViewPlugin(Delegate* delegate, const WebPreferences& preferences);
virtual ~WebViewPlugin();
// Manages its own lifetime.
« no previous file with comments | « no previous file | components/plugins/renderer/webview_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698