| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   64 namespace WebKit { |   64 namespace WebKit { | 
|   65 class WebFileChooserCompletion; |   65 class WebFileChooserCompletion; | 
|   66 class WebGamepads; |   66 class WebGamepads; | 
|   67 struct WebCursorInfo; |   67 struct WebCursorInfo; | 
|   68 struct WebFileChooserParams; |   68 struct WebFileChooserParams; | 
|   69 } |   69 } | 
|   70  |   70  | 
|   71 namespace webkit_glue { |   71 namespace webkit_glue { | 
|   72 class ClipboardClient; |   72 class ClipboardClient; | 
|   73 class P2PTransport; |   73 class P2PTransport; | 
 |   74 class NetworkListObserver; | 
|   74 }  // namespace webkit_glue |   75 }  // namespace webkit_glue | 
|   75  |   76  | 
|   76 namespace webkit { |   77 namespace webkit { | 
|   77 namespace ppapi { |   78 namespace ppapi { | 
|   78  |   79  | 
|   79 class FileIO; |   80 class FileIO; | 
|   80 class FullscreenContainer; |   81 class FullscreenContainer; | 
|   81 class PepperFilePath; |   82 class PepperFilePath; | 
|   82 class PluginInstance; |   83 class PluginInstance; | 
|   83 class PluginModule; |   84 class PluginModule; | 
| (...skipping 391 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   // Add/remove a network list observer. | 
 |  487   virtual bool AddNetworkListObserver( | 
 |  488       webkit_glue::NetworkListObserver* observer) = 0; | 
 |  489   virtual void RemoveNetworkListObserver( | 
 |  490       webkit_glue::NetworkListObserver* observer) = 0; | 
 |  491  | 
|  485   // Show the given context menu at the given position (in the plugin's |  492   // Show the given context menu at the given position (in the plugin's | 
|  486   // coordinates). |  493   // coordinates). | 
|  487   virtual int32_t ShowContextMenu( |  494   virtual int32_t ShowContextMenu( | 
|  488       PluginInstance* instance, |  495       PluginInstance* instance, | 
|  489       webkit::ppapi::PPB_Flash_Menu_Impl* menu, |  496       webkit::ppapi::PPB_Flash_Menu_Impl* menu, | 
|  490       const gfx::Point& position) = 0; |  497       const gfx::Point& position) = 0; | 
|  491  |  498  | 
|  492   // Create a fullscreen container for a plugin instance. This effectively |  499   // Create a fullscreen container for a plugin instance. This effectively | 
|  493   // switches the plugin to fullscreen. |  500   // switches the plugin to fullscreen. | 
|  494   virtual FullscreenContainer* CreateFullscreenContainer( |  501   virtual FullscreenContainer* CreateFullscreenContainer( | 
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  582                                const EnumerateDevicesCallback& callback) = 0; |  589                                const EnumerateDevicesCallback& callback) = 0; | 
|  583   // Create a ClipboardClient for writing to the clipboard. The caller will own |  590   // Create a ClipboardClient for writing to the clipboard. The caller will own | 
|  584   // the pointer to this. |  591   // the pointer to this. | 
|  585   virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; |  592   virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; | 
|  586 }; |  593 }; | 
|  587  |  594  | 
|  588 }  // namespace ppapi |  595 }  // namespace ppapi | 
|  589 }  // namespace webkit |  596 }  // namespace webkit | 
|  590  |  597  | 
|  591 #endif  // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |  598 #endif  // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 
| OLD | NEW |