| 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_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 const base::FilePath& plugin_path, | 38 const base::FilePath& plugin_path, |
| 39 const base::FilePath& profile_data_directory, | 39 const base::FilePath& profile_data_directory, |
| 40 bool in_process, | 40 bool in_process, |
| 41 bool external_plugin); | 41 bool external_plugin); |
| 42 virtual ~BrowserPpapiHostImpl(); | 42 virtual ~BrowserPpapiHostImpl(); |
| 43 | 43 |
| 44 // BrowserPpapiHost. | 44 // BrowserPpapiHost. |
| 45 virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE; | 45 virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE; |
| 46 virtual base::ProcessHandle GetPluginProcessHandle() const OVERRIDE; | 46 virtual base::ProcessHandle GetPluginProcessHandle() const OVERRIDE; |
| 47 virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE; | 47 virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE; |
| 48 virtual bool GetRenderViewIDsForInstance(PP_Instance instance, | 48 virtual bool GetRenderFrameIDsForInstance( |
| 49 int* render_process_id, | 49 PP_Instance instance, |
| 50 int* render_view_id) const OVERRIDE; | 50 int* render_process_id, |
| 51 int* render_frame_id) const OVERRIDE; |
| 51 virtual const std::string& GetPluginName() OVERRIDE; | 52 virtual const std::string& GetPluginName() OVERRIDE; |
| 52 virtual const base::FilePath& GetPluginPath() OVERRIDE; | 53 virtual const base::FilePath& GetPluginPath() OVERRIDE; |
| 53 virtual const base::FilePath& GetProfileDataDirectory() OVERRIDE; | 54 virtual const base::FilePath& GetProfileDataDirectory() OVERRIDE; |
| 54 virtual GURL GetDocumentURLForInstance(PP_Instance instance) OVERRIDE; | 55 virtual GURL GetDocumentURLForInstance(PP_Instance instance) OVERRIDE; |
| 55 virtual GURL GetPluginURLForInstance(PP_Instance instance) OVERRIDE; | 56 virtual GURL GetPluginURLForInstance(PP_Instance instance) OVERRIDE; |
| 56 virtual void SetOnKeepaliveCallback( | 57 virtual void SetOnKeepaliveCallback( |
| 57 const BrowserPpapiHost::OnKeepaliveCallback& callback) OVERRIDE; | 58 const BrowserPpapiHost::OnKeepaliveCallback& callback) OVERRIDE; |
| 58 | 59 |
| 59 | 60 |
| 60 void set_plugin_process_handle(base::ProcessHandle handle) { | 61 void set_plugin_process_handle(base::ProcessHandle handle) { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 scoped_refptr<HostMessageFilter> message_filter_; | 132 scoped_refptr<HostMessageFilter> message_filter_; |
| 132 | 133 |
| 133 BrowserPpapiHost::OnKeepaliveCallback on_keepalive_callback_; | 134 BrowserPpapiHost::OnKeepaliveCallback on_keepalive_callback_; |
| 134 | 135 |
| 135 DISALLOW_COPY_AND_ASSIGN(BrowserPpapiHostImpl); | 136 DISALLOW_COPY_AND_ASSIGN(BrowserPpapiHostImpl); |
| 136 }; | 137 }; |
| 137 | 138 |
| 138 } // namespace content | 139 } // namespace content |
| 139 | 140 |
| 140 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ | 141 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ |
| OLD | NEW |