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 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" | 5 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/callback_helpers.h" | 8 #include "base/callback_helpers.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
(...skipping 2309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2320 case ppapi::BROKER_SINGLETON_ID: | 2320 case ppapi::BROKER_SINGLETON_ID: |
2321 case ppapi::BROWSER_FONT_SINGLETON_ID: | 2321 case ppapi::BROWSER_FONT_SINGLETON_ID: |
2322 case ppapi::CRX_FILESYSTEM_SINGLETON_ID: | 2322 case ppapi::CRX_FILESYSTEM_SINGLETON_ID: |
2323 case ppapi::EXTENSIONS_COMMON_SINGLETON_ID: | 2323 case ppapi::EXTENSIONS_COMMON_SINGLETON_ID: |
2324 case ppapi::FLASH_CLIPBOARD_SINGLETON_ID: | 2324 case ppapi::FLASH_CLIPBOARD_SINGLETON_ID: |
2325 case ppapi::FLASH_FILE_SINGLETON_ID: | 2325 case ppapi::FLASH_FILE_SINGLETON_ID: |
2326 case ppapi::FLASH_FULLSCREEN_SINGLETON_ID: | 2326 case ppapi::FLASH_FULLSCREEN_SINGLETON_ID: |
2327 case ppapi::FLASH_SINGLETON_ID: | 2327 case ppapi::FLASH_SINGLETON_ID: |
2328 case ppapi::NETWORK_PROXY_SINGLETON_ID: | 2328 case ppapi::NETWORK_PROXY_SINGLETON_ID: |
2329 case ppapi::PDF_SINGLETON_ID: | 2329 case ppapi::PDF_SINGLETON_ID: |
| 2330 case ppapi::PLUGIN_PRIVATE_FILE_SYSTEM_SINGLETON_ID: |
2330 case ppapi::TRUETYPE_FONT_SINGLETON_ID: | 2331 case ppapi::TRUETYPE_FONT_SINGLETON_ID: |
2331 NOTIMPLEMENTED(); | 2332 NOTIMPLEMENTED(); |
2332 return NULL; | 2333 return NULL; |
2333 case ppapi::GAMEPAD_SINGLETON_ID: | 2334 case ppapi::GAMEPAD_SINGLETON_ID: |
2334 return gamepad_impl_.get(); | 2335 return gamepad_impl_.get(); |
2335 } | 2336 } |
2336 | 2337 |
2337 NOTREACHED(); | 2338 NOTREACHED(); |
2338 return NULL; | 2339 return NULL; |
2339 } | 2340 } |
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3000 // Running out-of-process. Initiate an IPC call to notify the plugin | 3001 // Running out-of-process. Initiate an IPC call to notify the plugin |
3001 // process. | 3002 // process. |
3002 ppapi::proxy::HostDispatcher* dispatcher = | 3003 ppapi::proxy::HostDispatcher* dispatcher = |
3003 ppapi::proxy::HostDispatcher::GetForInstance(pp_instance()); | 3004 ppapi::proxy::HostDispatcher::GetForInstance(pp_instance()); |
3004 dispatcher->Send(new PpapiMsg_PPPInstance_HandleDocumentLoad( | 3005 dispatcher->Send(new PpapiMsg_PPPInstance_HandleDocumentLoad( |
3005 ppapi::API_ID_PPP_INSTANCE, pp_instance(), pending_host_id, data)); | 3006 ppapi::API_ID_PPP_INSTANCE, pp_instance(), pending_host_id, data)); |
3006 } | 3007 } |
3007 } | 3008 } |
3008 | 3009 |
3009 } // namespace content | 3010 } // namespace content |
OLD | NEW |