| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 RenderView* GetRenderViewForInstance( | 81 virtual RenderView* GetRenderViewForInstance( |
| 82 PP_Instance instance) const OVERRIDE; | 82 PP_Instance instance) const OVERRIDE; |
| 83 virtual WebKit::WebPluginContainer* GetContainerForInstance( | 83 virtual blink::WebPluginContainer* GetContainerForInstance( |
| 84 PP_Instance instance) const OVERRIDE; | 84 PP_Instance instance) const OVERRIDE; |
| 85 virtual base::ProcessId GetPluginPID() const OVERRIDE; | 85 virtual base::ProcessId GetPluginPID() const OVERRIDE; |
| 86 virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE; | 86 virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE; |
| 87 virtual int GetRoutingIDForWidget(PP_Instance instance) const OVERRIDE; | 87 virtual int GetRoutingIDForWidget(PP_Instance instance) const OVERRIDE; |
| 88 virtual gfx::Point PluginPointToRenderView( | 88 virtual gfx::Point PluginPointToRenderView( |
| 89 PP_Instance instance, | 89 PP_Instance instance, |
| 90 const gfx::Point& pt) const OVERRIDE; | 90 const gfx::Point& pt) const OVERRIDE; |
| 91 virtual IPC::PlatformFileForTransit ShareHandleWithRemote( | 91 virtual IPC::PlatformFileForTransit ShareHandleWithRemote( |
| 92 base::PlatformFile handle, | 92 base::PlatformFile handle, |
| 93 bool should_close_source) OVERRIDE; | 93 bool should_close_source) OVERRIDE; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 // Whether the plugin is running in process. | 128 // Whether the plugin is running in process. |
| 129 bool is_running_in_process_; | 129 bool is_running_in_process_; |
| 130 | 130 |
| 131 DISALLOW_COPY_AND_ASSIGN(RendererPpapiHostImpl); | 131 DISALLOW_COPY_AND_ASSIGN(RendererPpapiHostImpl); |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace content | 134 } // namespace content |
| 135 | 135 |
| 136 #endif // CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ | 136 #endif // CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ |
| OLD | NEW |