| 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..c08e063c368923ea7c8667f7333cde5112c14c31 100644
|
| --- a/components/plugins/renderer/webview_plugin.h
|
| +++ b/components/plugins/renderer/webview_plugin.h
|
| @@ -16,12 +16,14 @@
|
| #include "third_party/WebKit/public/web/WebPlugin.h"
|
| #include "third_party/WebKit/public/web/WebViewClient.h"
|
|
|
| -struct WebPreferences;
|
| -
|
| namespace blink {
|
| class WebMouseEvent;
|
| }
|
|
|
| +namespace content {
|
| +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 +53,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 +137,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.
|
|
|