| 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_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 void OnTCPServerSocketListenACK(uint32 plugin_dispatcher_id, | 380 void OnTCPServerSocketListenACK(uint32 plugin_dispatcher_id, |
| 381 uint32 real_socket_id, | 381 uint32 real_socket_id, |
| 382 uint32 temp_socket_id, | 382 uint32 temp_socket_id, |
| 383 int32_t status); | 383 int32_t status); |
| 384 void OnTCPServerSocketAcceptACK(uint32 plugin_dispatcher_id, | 384 void OnTCPServerSocketAcceptACK(uint32 plugin_dispatcher_id, |
| 385 uint32 real_server_socket_id, | 385 uint32 real_server_socket_id, |
| 386 uint32 accepted_socket_id, | 386 uint32 accepted_socket_id, |
| 387 const PP_NetAddress_Private& local_addr, | 387 const PP_NetAddress_Private& local_addr, |
| 388 const PP_NetAddress_Private& remote_addr); | 388 const PP_NetAddress_Private& remote_addr); |
| 389 | 389 |
| 390 CONTENT_EXPORT int GetRoutingId() const; | 390 CONTENT_EXPORT int GetRoutingID() const; |
| 391 | 391 |
| 392 typedef base::Callback<void (int /* request_id */, | 392 typedef base::Callback<void (int /* request_id */, |
| 393 bool /* succeeded */, | 393 bool /* succeeded */, |
| 394 const std::string& /* label */)> | 394 const std::string& /* label */)> |
| 395 OpenDeviceCallback; | 395 OpenDeviceCallback; |
| 396 | 396 |
| 397 // Opens the specified device. The request ID passed into the callback will be | 397 // Opens the specified device. The request ID passed into the callback will be |
| 398 // the same as the return value. If successful, the label passed into the | 398 // the same as the return value. If successful, the label passed into the |
| 399 // callback identifies a audio/video steam, which can be used to call | 399 // callback identifies a audio/video steam, which can be used to call |
| 400 // CloseDevice() and GetSesssionID(). | 400 // CloseDevice() and GetSesssionID(). |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 webkit::ppapi::PluginInstance* last_mouse_event_target_; | 465 webkit::ppapi::PluginInstance* last_mouse_event_target_; |
| 466 | 466 |
| 467 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 467 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
| 468 | 468 |
| 469 scoped_ptr<DeviceEnumerationEventHandler> device_enumeration_event_handler_; | 469 scoped_ptr<DeviceEnumerationEventHandler> device_enumeration_event_handler_; |
| 470 | 470 |
| 471 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 471 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 472 }; | 472 }; |
| 473 | 473 |
| 474 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 474 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |