| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "content/public/renderer/renderer_ppapi_host.h" | 10 #include "content/public/renderer/renderer_ppapi_host.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 scoped_ptr<ppapi::thunk::ResourceCreationAPI> | 71 scoped_ptr<ppapi::thunk::ResourceCreationAPI> |
| 72 CreateInProcessResourceCreationAPI(PepperPluginInstanceImpl* instance); | 72 CreateInProcessResourceCreationAPI(PepperPluginInstanceImpl* instance); |
| 73 | 73 |
| 74 PepperPluginInstanceImpl* GetPluginInstanceImpl(PP_Instance instance) const; | 74 PepperPluginInstanceImpl* GetPluginInstanceImpl(PP_Instance instance) const; |
| 75 | 75 |
| 76 // RendererPpapiHost implementation. | 76 // RendererPpapiHost implementation. |
| 77 virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE; | 77 virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE; |
| 78 virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE; | 78 virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE; |
| 79 virtual PepperPluginInstance* GetPluginInstance( | 79 virtual PepperPluginInstance* GetPluginInstance( |
| 80 PP_Instance instance) const OVERRIDE; | 80 PP_Instance instance) const OVERRIDE; |
| 81 virtual RenderFrame* GetRenderFrameForInstance( |
| 82 PP_Instance instance) const OVERRIDE; |
| 81 virtual RenderView* GetRenderViewForInstance( | 83 virtual RenderView* GetRenderViewForInstance( |
| 82 PP_Instance instance) const OVERRIDE; | 84 PP_Instance instance) const OVERRIDE; |
| 83 virtual blink::WebPluginContainer* GetContainerForInstance( | 85 virtual blink::WebPluginContainer* GetContainerForInstance( |
| 84 PP_Instance instance) const OVERRIDE; | 86 PP_Instance instance) const OVERRIDE; |
| 85 virtual base::ProcessId GetPluginPID() const OVERRIDE; | 87 virtual base::ProcessId GetPluginPID() const OVERRIDE; |
| 86 virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE; | 88 virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE; |
| 87 virtual int GetRoutingIDForWidget(PP_Instance instance) const OVERRIDE; | 89 virtual int GetRoutingIDForWidget(PP_Instance instance) const OVERRIDE; |
| 88 virtual gfx::Point PluginPointToRenderView( | 90 virtual gfx::Point PluginPointToRenderView( |
| 89 PP_Instance instance, | 91 PP_Instance instance, |
| 90 const gfx::Point& pt) const OVERRIDE; | 92 const gfx::Point& pt) const OVERRIDE; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 129 |
| 128 // Whether the plugin is running in process. | 130 // Whether the plugin is running in process. |
| 129 bool is_running_in_process_; | 131 bool is_running_in_process_; |
| 130 | 132 |
| 131 DISALLOW_COPY_AND_ASSIGN(RendererPpapiHostImpl); | 133 DISALLOW_COPY_AND_ASSIGN(RendererPpapiHostImpl); |
| 132 }; | 134 }; |
| 133 | 135 |
| 134 } // namespace content | 136 } // namespace content |
| 135 | 137 |
| 136 #endif // CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ | 138 #endif // CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ |
| OLD | NEW |