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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 virtual void DidReceiveMouseEvent( | 372 virtual void DidReceiveMouseEvent( |
373 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 373 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
374 virtual bool IsInFullscreenMode() OVERRIDE; | 374 virtual bool IsInFullscreenMode() OVERRIDE; |
375 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; | 375 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; |
376 virtual bool IsPageVisible() const OVERRIDE; | 376 virtual bool IsPageVisible() const OVERRIDE; |
377 virtual int EnumerateDevices( | 377 virtual int EnumerateDevices( |
378 PP_DeviceType_Dev type, | 378 PP_DeviceType_Dev type, |
379 const EnumerateDevicesCallback& callback) OVERRIDE; | 379 const EnumerateDevicesCallback& callback) OVERRIDE; |
380 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const OVERRIDE; | 380 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const OVERRIDE; |
381 virtual std::string GetDeviceID() OVERRIDE; | 381 virtual std::string GetDeviceID() OVERRIDE; |
| 382 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( |
| 383 const GURL& document_url, |
| 384 const GURL& plugin_url) OVERRIDE; |
382 | 385 |
383 // RenderViewObserver implementation. | 386 // RenderViewObserver implementation. |
384 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 387 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
385 virtual void OnDestruct() OVERRIDE; | 388 virtual void OnDestruct() OVERRIDE; |
386 | 389 |
387 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, | 390 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, |
388 uint32 socket_id, | 391 uint32 socket_id, |
389 bool succeeded, | 392 bool succeeded, |
390 const PP_NetAddress_Private& local_addr, | 393 const PP_NetAddress_Private& local_addr, |
391 const PP_NetAddress_Private& remote_addr); | 394 const PP_NetAddress_Private& remote_addr); |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
509 | 512 |
510 scoped_ptr<PepperDeviceEnumerationEventHandler> | 513 scoped_ptr<PepperDeviceEnumerationEventHandler> |
511 device_enumeration_event_handler_; | 514 device_enumeration_event_handler_; |
512 | 515 |
513 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 516 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
514 }; | 517 }; |
515 | 518 |
516 } // namespace content | 519 } // namespace content |
517 | 520 |
518 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 521 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |