summaryrefslogtreecommitdiffstats
path: root/components/plugins/renderer/webview_plugin.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-09 06:25:05 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-09 06:25:05 +0000
commitb3a97b552e3e46a0172c6b92645a2f8319f5397d (patch)
treee2ededb8e1931536506cfbd560d31528b813f158 /components/plugins/renderer/webview_plugin.h
parent943a996f1de93d9de66b7fb02375702fdae6edf3 (diff)
downloadchromium_src-b3a97b552e3e46a0172c6b92645a2f8319f5397d.zip
chromium_src-b3a97b552e3e46a0172c6b92645a2f8319f5397d.tar.gz
chromium_src-b3a97b552e3e46a0172c6b92645a2f8319f5397d.tar.bz2
Move webpreferences.* from webkit/ to content/
BUG=338338 TEST=None R=jam@chromium.org TBR=boliu@chromium.org # for android_webview TBR=bauerb@chromium.org # for components/plugins TBR=dmichael@chromium.org # for ppapi Review URL: https://codereview.chromium.org/357203003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281978 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/plugins/renderer/webview_plugin.h')
-rw-r--r--components/plugins/renderer/webview_plugin.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/components/plugins/renderer/webview_plugin.h b/components/plugins/renderer/webview_plugin.h
index 9384522..2bdd437 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.