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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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( | 339 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( |
340 const GURL& document_url, | 340 const GURL& document_url, |
341 const GURL& plugin_url) OVERRIDE; | 341 const GURL& plugin_url) OVERRIDE; |
| 342 virtual void HandleDocumentLoad( |
| 343 webkit::ppapi::PluginInstance* instance, |
| 344 const WebKit::WebURLResponse& response) OVERRIDE; |
342 | 345 |
343 // RenderViewObserver implementation. | 346 // RenderViewObserver implementation. |
344 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 347 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
345 virtual void OnDestruct() OVERRIDE; | 348 virtual void OnDestruct() OVERRIDE; |
346 | 349 |
347 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, | 350 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, |
348 uint32 socket_id, | 351 uint32 socket_id, |
349 bool succeeded, | 352 bool succeeded, |
350 const PP_NetAddress_Private& local_addr, | 353 const PP_NetAddress_Private& local_addr, |
351 const PP_NetAddress_Private& remote_addr); | 354 const PP_NetAddress_Private& remote_addr); |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 | 475 |
473 scoped_ptr<PepperDeviceEnumerationEventHandler> | 476 scoped_ptr<PepperDeviceEnumerationEventHandler> |
474 device_enumeration_event_handler_; | 477 device_enumeration_event_handler_; |
475 | 478 |
476 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 479 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
477 }; | 480 }; |
478 | 481 |
479 } // namespace content | 482 } // namespace content |
480 | 483 |
481 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 484 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |