| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 const WebKit::WebCursorInfo& cursor) OVERRIDE; | 360 const WebKit::WebCursorInfo& cursor) OVERRIDE; |
| 361 virtual void DidReceiveMouseEvent( | 361 virtual void DidReceiveMouseEvent( |
| 362 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 362 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
| 363 virtual bool IsInFullscreenMode() OVERRIDE; | 363 virtual bool IsInFullscreenMode() OVERRIDE; |
| 364 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; | 364 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; |
| 365 virtual bool IsPageVisible() const OVERRIDE; | 365 virtual bool IsPageVisible() const OVERRIDE; |
| 366 virtual int EnumerateDevices( | 366 virtual int EnumerateDevices( |
| 367 PP_DeviceType_Dev type, | 367 PP_DeviceType_Dev type, |
| 368 const EnumerateDevicesCallback& callback) OVERRIDE; | 368 const EnumerateDevicesCallback& callback) OVERRIDE; |
| 369 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const OVERRIDE; | 369 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const OVERRIDE; |
| 370 virtual std::string GetDeviceID() OVERRIDE; |
| 370 | 371 |
| 371 // RenderViewObserver implementation. | 372 // RenderViewObserver implementation. |
| 372 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 373 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 373 virtual void OnDestruct() OVERRIDE; | 374 virtual void OnDestruct() OVERRIDE; |
| 374 | 375 |
| 375 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, | 376 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, |
| 376 uint32 socket_id, | 377 uint32 socket_id, |
| 377 bool succeeded, | 378 bool succeeded, |
| 378 const PP_NetAddress_Private& local_addr, | 379 const PP_NetAddress_Private& local_addr, |
| 379 const PP_NetAddress_Private& remote_addr); | 380 const PP_NetAddress_Private& remote_addr); |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 | 495 |
| 495 scoped_ptr<PepperDeviceEnumerationEventHandler> | 496 scoped_ptr<PepperDeviceEnumerationEventHandler> |
| 496 device_enumeration_event_handler_; | 497 device_enumeration_event_handler_; |
| 497 | 498 |
| 498 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 499 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 499 }; | 500 }; |
| 500 | 501 |
| 501 } // namespace content | 502 } // namespace content |
| 502 | 503 |
| 503 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 504 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |