| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 GetPlatformGraphics2D(PP_Resource resource) OVERRIDE; | 91 GetPlatformGraphics2D(PP_Resource resource) OVERRIDE; |
| 92 virtual RenderView* GetRenderViewForInstance( | 92 virtual RenderView* GetRenderViewForInstance( |
| 93 PP_Instance instance) const OVERRIDE; | 93 PP_Instance instance) const OVERRIDE; |
| 94 virtual WebKit::WebPluginContainer* GetContainerForInstance( | 94 virtual WebKit::WebPluginContainer* GetContainerForInstance( |
| 95 PP_Instance instance) const OVERRIDE; | 95 PP_Instance instance) const OVERRIDE; |
| 96 virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE; | 96 virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE; |
| 97 virtual int GetRoutingIDForWidget(PP_Instance instance) const OVERRIDE; | 97 virtual int GetRoutingIDForWidget(PP_Instance instance) const OVERRIDE; |
| 98 virtual gfx::Point PluginPointToRenderView( | 98 virtual gfx::Point PluginPointToRenderView( |
| 99 PP_Instance instance, | 99 PP_Instance instance, |
| 100 const gfx::Point& pt) const OVERRIDE; | 100 const gfx::Point& pt) const OVERRIDE; |
| 101 virtual GURL GetDocumentURLForInstance( |
| 102 PP_Instance instance) const OVERRIDE; |
| 101 virtual IPC::PlatformFileForTransit ShareHandleWithRemote( | 103 virtual IPC::PlatformFileForTransit ShareHandleWithRemote( |
| 102 base::PlatformFile handle, | 104 base::PlatformFile handle, |
| 103 bool should_close_source) OVERRIDE; | 105 bool should_close_source) OVERRIDE; |
| 104 virtual bool IsRunningInProcess() const OVERRIDE; | 106 virtual bool IsRunningInProcess() const OVERRIDE; |
| 105 | 107 |
| 106 private: | 108 private: |
| 107 RendererPpapiHostImpl(webkit::ppapi::PluginModule* module, | 109 RendererPpapiHostImpl(webkit::ppapi::PluginModule* module, |
| 108 ppapi::proxy::HostDispatcher* dispatcher, | 110 ppapi::proxy::HostDispatcher* dispatcher, |
| 109 const ppapi::PpapiPermissions& permissions); | 111 const ppapi::PpapiPermissions& permissions); |
| 110 RendererPpapiHostImpl(webkit::ppapi::PluginModule* module, | 112 RendererPpapiHostImpl(webkit::ppapi::PluginModule* module, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 130 | 132 |
| 131 // Whether the plugin is running in process. | 133 // Whether the plugin is running in process. |
| 132 bool is_running_in_process_; | 134 bool is_running_in_process_; |
| 133 | 135 |
| 134 DISALLOW_COPY_AND_ASSIGN(RendererPpapiHostImpl); | 136 DISALLOW_COPY_AND_ASSIGN(RendererPpapiHostImpl); |
| 135 }; | 137 }; |
| 136 | 138 |
| 137 } // namespace content | 139 } // namespace content |
| 138 | 140 |
| 139 #endif // CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ | 141 #endif // CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ |
| OLD | NEW |