Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: webkit/plugins/ppapi/plugin_delegate.h

Issue 9557006: Implement PPB_NetworkMonitor_Private Pepper interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 473
473 // For PPB_TCPServerSocket_Private. 474 // For PPB_TCPServerSocket_Private.
474 virtual void TCPServerSocketListen(PPB_TCPServerSocket_Private_Impl* socket, 475 virtual void TCPServerSocketListen(PPB_TCPServerSocket_Private_Impl* socket,
475 uint32 temp_socket_id, 476 uint32 temp_socket_id,
476 const PP_NetAddress_Private& addr, 477 const PP_NetAddress_Private& addr,
477 int32_t backlog) = 0; 478 int32_t backlog) = 0;
478 virtual void TCPServerSocketAccept(uint32 real_socket_id) = 0; 479 virtual void TCPServerSocketAccept(uint32 real_socket_id) = 0;
479 virtual void TCPServerSocketStopListening(uint32 real_socket_id, 480 virtual void TCPServerSocketStopListening(uint32 real_socket_id,
480 uint32 temp_socket_id) = 0; 481 uint32 temp_socket_id) = 0;
481 482
483 // Add/remove a network list observer.
484 virtual bool AddNetworkListObserver(
485 webkit_glue::NetworkListObserver* observer) = 0;
486 virtual void RemoveNetworkListObserver(
487 webkit_glue::NetworkListObserver* observer) = 0;
488
482 // Show the given context menu at the given position (in the plugin's 489 // Show the given context menu at the given position (in the plugin's
483 // coordinates). 490 // coordinates).
484 virtual int32_t ShowContextMenu( 491 virtual int32_t ShowContextMenu(
485 PluginInstance* instance, 492 PluginInstance* instance,
486 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 493 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
487 const gfx::Point& position) = 0; 494 const gfx::Point& position) = 0;
488 495
489 // Create a fullscreen container for a plugin instance. This effectively 496 // Create a fullscreen container for a plugin instance. This effectively
490 // switches the plugin to fullscreen. 497 // switches the plugin to fullscreen.
491 virtual FullscreenContainer* CreateFullscreenContainer( 498 virtual FullscreenContainer* CreateFullscreenContainer(
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 const EnumerateDevicesCallback& callback) = 0; 586 const EnumerateDevicesCallback& callback) = 0;
580 // Create a ClipboardClient for writing to the clipboard. The caller will own 587 // Create a ClipboardClient for writing to the clipboard. The caller will own
581 // the pointer to this. 588 // the pointer to this.
582 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; 589 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0;
583 }; 590 };
584 591
585 } // namespace ppapi 592 } // namespace ppapi
586 } // namespace webkit 593 } // namespace webkit
587 594
588 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 595 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698