Index: content/renderer/pepper/renderer_ppapi_host_impl.h |
diff --git a/content/renderer/pepper/renderer_ppapi_host_impl.h b/content/renderer/pepper/renderer_ppapi_host_impl.h |
index 3625de2bb400ea0e90c3f116f9ce084dd9d10c30..84ae896a88a5a0efcfe95173036d92207e4a230c 100644 |
--- a/content/renderer/pepper/renderer_ppapi_host_impl.h |
+++ b/content/renderer/pepper/renderer_ppapi_host_impl.h |
@@ -10,6 +10,7 @@ |
#include "content/public/renderer/renderer_ppapi_host.h" |
#include "content/renderer/pepper/content_renderer_pepper_host_factory.h" |
#include "ppapi/host/ppapi_host.h" |
+#include "webkit/plugins/ppapi/plugin_delegate.h" |
#include "webkit/plugins/ppapi/plugin_module.h" |
namespace IPC { |
@@ -84,11 +85,14 @@ class RendererPpapiHostImpl |
// RendererPpapiHost. |
virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE; |
virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE; |
+ virtual webkit::ppapi::PluginDelegate::PlatformGraphics2D* |
+ GetPlatformGraphics2D(PP_Resource resource) OVERRIDE; |
virtual RenderView* GetRenderViewForInstance( |
PP_Instance instance) const OVERRIDE; |
virtual WebKit::WebPluginContainer* GetContainerForInstance( |
PP_Instance instance) const OVERRIDE; |
virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE; |
+ virtual bool IsRunningInProcess() const OVERRIDE; |
private: |
RendererPpapiHostImpl(webkit::ppapi::PluginModule* module, |
@@ -113,6 +117,9 @@ class RendererPpapiHostImpl |
// Null when running out-of-process. |
scoped_ptr<PepperInProcessRouter> in_process_router_; |
+ // Whether the plugin is running in process. |
+ bool is_running_in_process_; |
+ |
DISALLOW_COPY_AND_ASSIGN(RendererPpapiHostImpl); |
}; |