| 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 WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 class Point; | 48 class Point; |
| 49 } | 49 } |
| 50 | 50 |
| 51 namespace gpu { | 51 namespace gpu { |
| 52 class CommandBuffer; | 52 class CommandBuffer; |
| 53 } | 53 } |
| 54 | 54 |
| 55 namespace ppapi { | 55 namespace ppapi { |
| 56 struct DeviceRefData; | 56 struct DeviceRefData; |
| 57 struct Preferences; | 57 struct Preferences; |
| 58 class PPB_X509Certificate_Fields; |
| 58 } | 59 } |
| 59 | 60 |
| 60 namespace skia { | 61 namespace skia { |
| 61 class PlatformCanvas; | 62 class PlatformCanvas; |
| 62 } | 63 } |
| 63 | 64 |
| 64 namespace WebKit { | 65 namespace WebKit { |
| 65 class WebFileChooserCompletion; | 66 class WebFileChooserCompletion; |
| 66 class WebGamepads; | 67 class WebGamepads; |
| 67 struct WebCursorInfo; | 68 struct WebCursorInfo; |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 | 476 |
| 476 // For PPB_TCPServerSocket_Private. | 477 // For PPB_TCPServerSocket_Private. |
| 477 virtual void TCPServerSocketListen(PPB_TCPServerSocket_Private_Impl* socket, | 478 virtual void TCPServerSocketListen(PPB_TCPServerSocket_Private_Impl* socket, |
| 478 uint32 temp_socket_id, | 479 uint32 temp_socket_id, |
| 479 const PP_NetAddress_Private& addr, | 480 const PP_NetAddress_Private& addr, |
| 480 int32_t backlog) = 0; | 481 int32_t backlog) = 0; |
| 481 virtual void TCPServerSocketAccept(uint32 real_socket_id) = 0; | 482 virtual void TCPServerSocketAccept(uint32 real_socket_id) = 0; |
| 482 virtual void TCPServerSocketStopListening(uint32 real_socket_id, | 483 virtual void TCPServerSocketStopListening(uint32 real_socket_id, |
| 483 uint32 temp_socket_id) = 0; | 484 uint32 temp_socket_id) = 0; |
| 484 | 485 |
| 486 // For PPB_Flash_X509_Certificate |
| 487 virtual bool X509CertificateParseDER( |
| 488 const std::vector<char>& der, |
| 489 ::ppapi::PPB_X509Certificate_Fields* fields) = 0; |
| 490 |
| 485 // Show the given context menu at the given position (in the plugin's | 491 // Show the given context menu at the given position (in the plugin's |
| 486 // coordinates). | 492 // coordinates). |
| 487 virtual int32_t ShowContextMenu( | 493 virtual int32_t ShowContextMenu( |
| 488 PluginInstance* instance, | 494 PluginInstance* instance, |
| 489 webkit::ppapi::PPB_Flash_Menu_Impl* menu, | 495 webkit::ppapi::PPB_Flash_Menu_Impl* menu, |
| 490 const gfx::Point& position) = 0; | 496 const gfx::Point& position) = 0; |
| 491 | 497 |
| 492 // Create a fullscreen container for a plugin instance. This effectively | 498 // Create a fullscreen container for a plugin instance. This effectively |
| 493 // switches the plugin to fullscreen. | 499 // switches the plugin to fullscreen. |
| 494 virtual FullscreenContainer* CreateFullscreenContainer( | 500 virtual FullscreenContainer* CreateFullscreenContainer( |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 const EnumerateDevicesCallback& callback) = 0; | 588 const EnumerateDevicesCallback& callback) = 0; |
| 583 // Create a ClipboardClient for writing to the clipboard. The caller will own | 589 // Create a ClipboardClient for writing to the clipboard. The caller will own |
| 584 // the pointer to this. | 590 // the pointer to this. |
| 585 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; | 591 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; |
| 586 }; | 592 }; |
| 587 | 593 |
| 588 } // namespace ppapi | 594 } // namespace ppapi |
| 589 } // namespace webkit | 595 } // namespace webkit |
| 590 | 596 |
| 591 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 597 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| OLD | NEW |