#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
-#include "base/platform_file.h"
#include "content/public/renderer/content_renderer_client.h"
namespace blink {
struct WebPluginParams;
}
+namespace web_cache {
+class WebCacheRenderProcessObserver;
+}
+
namespace content {
class MockWebClipboardImpl;
double sample_rate) OVERRIDE;
virtual blink::WebClipboard* OverrideWebClipboard() OVERRIDE;
virtual blink::WebThemeEngine* OverrideThemeEngine() OVERRIDE;
- virtual bool AllowBrowserPlugin(
- blink::WebPluginContainer* container) OVERRIDE;
+ virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url) OVERRIDE;
+ virtual bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url) OVERRIDE;
+ virtual bool IsPluginAllowedToUseDevChannelAPIs() OVERRIDE;
private:
void WebTestProxyCreated(RenderView* render_view, WebTestProxyBase* proxy);
+ scoped_ptr<web_cache::WebCacheRenderProcessObserver> web_cache_observer_;
scoped_ptr<ShellRenderProcessObserver> shell_observer_;
scoped_ptr<MockWebClipboardImpl> clipboard_;
};