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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 const WebKit::WebCursorInfo& cursor) OVERRIDE; | 376 const WebKit::WebCursorInfo& cursor) OVERRIDE; |
377 virtual void DidReceiveMouseEvent( | 377 virtual void DidReceiveMouseEvent( |
378 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 378 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
379 virtual bool IsInFullscreenMode() OVERRIDE; | 379 virtual bool IsInFullscreenMode() OVERRIDE; |
380 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; | 380 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; |
381 virtual bool IsPageVisible() const OVERRIDE; | 381 virtual bool IsPageVisible() const OVERRIDE; |
382 virtual int EnumerateDevices( | 382 virtual int EnumerateDevices( |
383 PP_DeviceType_Dev type, | 383 PP_DeviceType_Dev type, |
384 const EnumerateDevicesCallback& callback) OVERRIDE; | 384 const EnumerateDevicesCallback& callback) OVERRIDE; |
385 virtual void StopEnumerateDevices(int request_id) OVERRIDE; | 385 virtual void StopEnumerateDevices(int request_id) OVERRIDE; |
386 virtual std::string GetDeviceID() OVERRIDE; | |
387 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( | 386 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( |
388 const GURL& document_url, | 387 const GURL& document_url, |
389 const GURL& plugin_url) OVERRIDE; | 388 const GURL& plugin_url) OVERRIDE; |
390 | 389 |
391 // RenderViewObserver implementation. | 390 // RenderViewObserver implementation. |
392 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 391 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
393 virtual void OnDestruct() OVERRIDE; | 392 virtual void OnDestruct() OVERRIDE; |
394 | 393 |
395 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, | 394 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, |
396 uint32 socket_id, | 395 uint32 socket_id, |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 | 524 |
526 scoped_ptr<PepperDeviceEnumerationEventHandler> | 525 scoped_ptr<PepperDeviceEnumerationEventHandler> |
527 device_enumeration_event_handler_; | 526 device_enumeration_event_handler_; |
528 | 527 |
529 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 528 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
530 }; | 529 }; |
531 | 530 |
532 } // namespace content | 531 } // namespace content |
533 | 532 |
534 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 533 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |