| 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 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 const WebKit::WebCursorInfo& cursor) OVERRIDE; | 329 const WebKit::WebCursorInfo& cursor) OVERRIDE; |
| 330 virtual void DidReceiveMouseEvent( | 330 virtual void DidReceiveMouseEvent( |
| 331 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 331 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
| 332 virtual bool IsInFullscreenMode() OVERRIDE; | 332 virtual bool IsInFullscreenMode() OVERRIDE; |
| 333 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; | 333 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; |
| 334 virtual bool IsPageVisible() const OVERRIDE; | 334 virtual bool IsPageVisible() const OVERRIDE; |
| 335 virtual int EnumerateDevices( | 335 virtual int EnumerateDevices( |
| 336 PP_DeviceType_Dev type, | 336 PP_DeviceType_Dev type, |
| 337 const EnumerateDevicesCallback& callback) OVERRIDE; | 337 const EnumerateDevicesCallback& callback) OVERRIDE; |
| 338 virtual void StopEnumerateDevices(int request_id) OVERRIDE; | 338 virtual void StopEnumerateDevices(int request_id) OVERRIDE; |
| 339 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( | |
| 340 const GURL& document_url, | |
| 341 const GURL& plugin_url) OVERRIDE; | |
| 342 | 339 |
| 343 // RenderViewObserver implementation. | 340 // RenderViewObserver implementation. |
| 344 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 341 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 345 virtual void OnDestruct() OVERRIDE; | 342 virtual void OnDestruct() OVERRIDE; |
| 346 | 343 |
| 347 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, | 344 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, |
| 348 uint32 socket_id, | 345 uint32 socket_id, |
| 349 bool succeeded, | 346 bool succeeded, |
| 350 const PP_NetAddress_Private& local_addr, | 347 const PP_NetAddress_Private& local_addr, |
| 351 const PP_NetAddress_Private& remote_addr); | 348 const PP_NetAddress_Private& remote_addr); |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 | 469 |
| 473 scoped_ptr<PepperDeviceEnumerationEventHandler> | 470 scoped_ptr<PepperDeviceEnumerationEventHandler> |
| 474 device_enumeration_event_handler_; | 471 device_enumeration_event_handler_; |
| 475 | 472 |
| 476 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 473 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 477 }; | 474 }; |
| 478 | 475 |
| 479 } // namespace content | 476 } // namespace content |
| 480 | 477 |
| 481 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 478 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |