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