#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.
// 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);
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.