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

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

Issue 357203003: Move webpreferences.* from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android fix - webview() -> web_view Created 6 years, 5 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 | « chrome/renderer/printing/print_web_view_helper.cc ('k') | 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 9384522d0f267e458b143d7ea709e62fbe62f343..2bdd437ffb35ebd0732b83862b449c8dbdd14897 100644
--- a/components/plugins/renderer/webview_plugin.h
+++ b/components/plugins/renderer/webview_plugin.h
@@ -16,12 +16,15 @@
#include "third_party/WebKit/public/web/WebPlugin.h"
#include "third_party/WebKit/public/web/WebViewClient.h"
-struct WebPreferences;
-
namespace blink {
class WebMouseEvent;
}
+namespace content {
+class RenderView;
+struct WebPreferences;
+}
+
// This class implements the WebPlugin interface by forwarding drawing and
// handling input events to a WebView.
// It can be used as a placeholder for an actual plugin, using HTML for the UI.
@@ -51,7 +54,7 @@ class WebViewPlugin : public blink::WebPlugin,
// and displaying |html_data|. |url| should be a (fake) chrome:// URL; it is
// only used for navigation and never actually resolved.
static WebViewPlugin* Create(Delegate* delegate,
- const WebPreferences& preferences,
+ const content::WebPreferences& preferences,
const std::string& html_data,
const GURL& url);
@@ -135,7 +138,7 @@ class WebViewPlugin : public blink::WebPlugin,
private:
friend class base::DeleteHelper<WebViewPlugin>;
- WebViewPlugin(Delegate* delegate, const WebPreferences& preferences);
+ WebViewPlugin(Delegate* delegate, const content::WebPreferences& preferences);
virtual ~WebViewPlugin();
// Manages its own lifetime.
« no previous file with comments | « chrome/renderer/printing/print_web_view_helper.cc ('k') | components/plugins/renderer/webview_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698