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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
387 const WebKit::WebCursorInfo& cursor) OVERRIDE; | 387 const WebKit::WebCursorInfo& cursor) OVERRIDE; |
388 virtual void DidReceiveMouseEvent( | 388 virtual void DidReceiveMouseEvent( |
389 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 389 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
390 virtual bool IsInFullscreenMode() OVERRIDE; | 390 virtual bool IsInFullscreenMode() OVERRIDE; |
391 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; | 391 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; |
392 virtual bool IsPageVisible() const OVERRIDE; | 392 virtual bool IsPageVisible() const OVERRIDE; |
393 virtual int EnumerateDevices( | 393 virtual int EnumerateDevices( |
394 PP_DeviceType_Dev type, | 394 PP_DeviceType_Dev type, |
395 const EnumerateDevicesCallback& callback) OVERRIDE; | 395 const EnumerateDevicesCallback& callback) OVERRIDE; |
396 virtual void StopEnumerateDevices(int request_id) OVERRIDE; | 396 virtual void StopEnumerateDevices(int request_id) OVERRIDE; |
397 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const OVERRIDE; | |
yzshen1
2012/10/29 17:58:04
change mock_plugin_delegate accordingly, please.
raymes
2012/10/29 18:44:58
Done.
| |
398 virtual std::string GetDeviceID() OVERRIDE; | 397 virtual std::string GetDeviceID() OVERRIDE; |
399 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( | 398 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( |
400 const GURL& document_url, | 399 const GURL& document_url, |
401 const GURL& plugin_url) OVERRIDE; | 400 const GURL& plugin_url) OVERRIDE; |
402 | 401 |
403 // RenderViewObserver implementation. | 402 // RenderViewObserver implementation. |
404 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 403 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
405 virtual void OnDestruct() OVERRIDE; | 404 virtual void OnDestruct() OVERRIDE; |
406 | 405 |
407 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, | 406 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
549 | 548 |
550 scoped_ptr<PepperDeviceEnumerationEventHandler> | 549 scoped_ptr<PepperDeviceEnumerationEventHandler> |
551 device_enumeration_event_handler_; | 550 device_enumeration_event_handler_; |
552 | 551 |
553 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 552 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
554 }; | 553 }; |
555 | 554 |
556 } // namespace content | 555 } // namespace content |
557 | 556 |
558 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 557 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |