| 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 26 matching lines...) Expand all Loading... |
| 37 const base::FilePath& plugin_path, | 37 const base::FilePath& plugin_path, |
| 38 const base::FilePath& profile_data_directory, | 38 const base::FilePath& profile_data_directory, |
| 39 bool in_process, | 39 bool in_process, |
| 40 bool external_plugin); | 40 bool external_plugin); |
| 41 virtual ~BrowserPpapiHostImpl(); | 41 virtual ~BrowserPpapiHostImpl(); |
| 42 | 42 |
| 43 // BrowserPpapiHost. | 43 // BrowserPpapiHost. |
| 44 virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE; | 44 virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE; |
| 45 virtual base::ProcessHandle GetPluginProcessHandle() const OVERRIDE; | 45 virtual base::ProcessHandle GetPluginProcessHandle() const OVERRIDE; |
| 46 virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE; | 46 virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE; |
| 47 virtual bool GetRenderViewIDsForInstance(PP_Instance instance, | 47 virtual bool GetRenderFrameIDsForInstance( |
| 48 int* render_process_id, | 48 PP_Instance instance, |
| 49 int* render_view_id) const OVERRIDE; | 49 int* render_process_id, |
| 50 int* render_frame_id) const OVERRIDE; |
| 50 virtual const std::string& GetPluginName() OVERRIDE; | 51 virtual const std::string& GetPluginName() OVERRIDE; |
| 51 virtual const base::FilePath& GetPluginPath() OVERRIDE; | 52 virtual const base::FilePath& GetPluginPath() OVERRIDE; |
| 52 virtual const base::FilePath& GetProfileDataDirectory() OVERRIDE; | 53 virtual const base::FilePath& GetProfileDataDirectory() OVERRIDE; |
| 53 virtual GURL GetDocumentURLForInstance(PP_Instance instance) OVERRIDE; | 54 virtual GURL GetDocumentURLForInstance(PP_Instance instance) OVERRIDE; |
| 54 virtual GURL GetPluginURLForInstance(PP_Instance instance) OVERRIDE; | 55 virtual GURL GetPluginURLForInstance(PP_Instance instance) OVERRIDE; |
| 55 | 56 |
| 56 void set_plugin_process_handle(base::ProcessHandle handle) { | 57 void set_plugin_process_handle(base::ProcessHandle handle) { |
| 57 plugin_process_handle_ = handle; | 58 plugin_process_handle_ = handle; |
| 58 } | 59 } |
| 59 | 60 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 InstanceMap instance_map_; | 118 InstanceMap instance_map_; |
| 118 | 119 |
| 119 scoped_refptr<HostMessageFilter> message_filter_; | 120 scoped_refptr<HostMessageFilter> message_filter_; |
| 120 | 121 |
| 121 DISALLOW_COPY_AND_ASSIGN(BrowserPpapiHostImpl); | 122 DISALLOW_COPY_AND_ASSIGN(BrowserPpapiHostImpl); |
| 122 }; | 123 }; |
| 123 | 124 |
| 124 } // namespace content | 125 } // namespace content |
| 125 | 126 |
| 126 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ | 127 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ |
| OLD | NEW |