| 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 const WebKit::WebCursorInfo& cursor) OVERRIDE; | 314 const WebKit::WebCursorInfo& cursor) OVERRIDE; |
| 315 virtual void DidReceiveMouseEvent( | 315 virtual void DidReceiveMouseEvent( |
| 316 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 316 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
| 317 virtual bool IsInFullscreenMode() OVERRIDE; | 317 virtual bool IsInFullscreenMode() OVERRIDE; |
| 318 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; | 318 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; |
| 319 virtual bool IsPageVisible() const OVERRIDE; | 319 virtual bool IsPageVisible() const OVERRIDE; |
| 320 virtual int EnumerateDevices( | 320 virtual int EnumerateDevices( |
| 321 PP_DeviceType_Dev type, | 321 PP_DeviceType_Dev type, |
| 322 const EnumerateDevicesCallback& callback) OVERRIDE; | 322 const EnumerateDevicesCallback& callback) OVERRIDE; |
| 323 virtual void StopEnumerateDevices(int request_id) OVERRIDE; | 323 virtual void StopEnumerateDevices(int request_id) OVERRIDE; |
| 324 virtual void HandleDocumentLoad( |
| 325 webkit::ppapi::PluginInstance* instance, |
| 326 const WebKit::WebURLResponse& response) OVERRIDE; |
| 324 | 327 |
| 325 // RenderViewObserver implementation. | 328 // RenderViewObserver implementation. |
| 326 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 329 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 327 virtual void OnDestruct() OVERRIDE; | 330 virtual void OnDestruct() OVERRIDE; |
| 328 | 331 |
| 329 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, | 332 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, |
| 330 uint32 socket_id, | 333 uint32 socket_id, |
| 331 bool succeeded, | 334 bool succeeded, |
| 332 const PP_NetAddress_Private& local_addr, | 335 const PP_NetAddress_Private& local_addr, |
| 333 const PP_NetAddress_Private& remote_addr); | 336 const PP_NetAddress_Private& remote_addr); |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 device_enumeration_event_handler_; | 444 device_enumeration_event_handler_; |
| 442 | 445 |
| 443 scoped_refptr<ContextProviderCommandBuffer> offscreen_context3d_; | 446 scoped_refptr<ContextProviderCommandBuffer> offscreen_context3d_; |
| 444 | 447 |
| 445 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 448 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 446 }; | 449 }; |
| 447 | 450 |
| 448 } // namespace content | 451 } // namespace content |
| 449 | 452 |
| 450 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 453 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |