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

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

Issue 11411357: PPB_HostResolver_Private is switched to the new Pepper proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 7 years, 10 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 20 matching lines...) Expand all
31 #include "ppapi/shared_impl/dir_contents.h" 31 #include "ppapi/shared_impl/dir_contents.h"
32 #include "ui/gfx/size.h" 32 #include "ui/gfx/size.h"
33 #include "webkit/fileapi/file_system_types.h" 33 #include "webkit/fileapi/file_system_types.h"
34 #include "webkit/glue/clipboard_client.h" 34 #include "webkit/glue/clipboard_client.h"
35 #include "webkit/quota/quota_types.h" 35 #include "webkit/quota/quota_types.h"
36 36
37 class GURL; 37 class GURL;
38 class SkBitmap; 38 class SkBitmap;
39 class SkCanvas; 39 class SkCanvas;
40 class TransportDIB; 40 class TransportDIB;
41 struct PP_HostResolver_Private_Hint;
42 struct PP_NetAddress_Private; 41 struct PP_NetAddress_Private;
43 42
44 namespace WebKit { 43 namespace WebKit {
45 class WebGraphicsContext3D; 44 class WebGraphicsContext3D;
46 } 45 }
47 46
48 namespace base { 47 namespace base {
49 class MessageLoopProxy; 48 class MessageLoopProxy;
50 class Time; 49 class Time;
51 } 50 }
52 51
53 namespace fileapi { 52 namespace fileapi {
54 class FileSystemCallbackDispatcher; 53 class FileSystemCallbackDispatcher;
55 } 54 }
56 55
57 namespace gfx { 56 namespace gfx {
58 class Point; 57 class Point;
59 } 58 }
60 59
61 namespace gpu { 60 namespace gpu {
62 class CommandBuffer; 61 class CommandBuffer;
63 } 62 }
64 63
65 namespace ppapi { 64 namespace ppapi {
66 class PepperFilePath; 65 class PepperFilePath;
67 class PPB_HostResolver_Shared;
68 class PPB_X509Certificate_Fields; 66 class PPB_X509Certificate_Fields;
69 struct DeviceRefData; 67 struct DeviceRefData;
70 struct HostPortPair; 68 struct HostPortPair;
71 struct Preferences; 69 struct Preferences;
72 70
73 namespace thunk { 71 namespace thunk {
74 class ResourceCreationAPI; 72 class ResourceCreationAPI;
75 } 73 }
76 74
77 } // namespace ppapi 75 } // namespace ppapi
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 547
550 // For PPB_TCPServerSocket_Private. 548 // For PPB_TCPServerSocket_Private.
551 virtual void TCPServerSocketListen(PP_Resource socket_resource, 549 virtual void TCPServerSocketListen(PP_Resource socket_resource,
552 const PP_NetAddress_Private& addr, 550 const PP_NetAddress_Private& addr,
553 int32_t backlog) = 0; 551 int32_t backlog) = 0;
554 virtual void TCPServerSocketAccept(uint32 server_socket_id) = 0; 552 virtual void TCPServerSocketAccept(uint32 server_socket_id) = 0;
555 virtual void TCPServerSocketStopListening( 553 virtual void TCPServerSocketStopListening(
556 PP_Resource socket_resource, 554 PP_Resource socket_resource,
557 uint32 socket_id) = 0; 555 uint32 socket_id) = 0;
558 556
559 // For PPB_HostResolver_Private.
560 virtual void RegisterHostResolver(
561 ::ppapi::PPB_HostResolver_Shared* host_resolver,
562 uint32 host_resolver_id) = 0;
563 virtual void HostResolverResolve(
564 uint32 host_resolver_id,
565 const ::ppapi::HostPortPair& host_port,
566 const PP_HostResolver_Private_Hint* hint) = 0;
567 virtual void UnregisterHostResolver(uint32 host_resolver_id) = 0;
568
569 // Add/remove a network list observer. 557 // Add/remove a network list observer.
570 virtual bool AddNetworkListObserver( 558 virtual bool AddNetworkListObserver(
571 webkit_glue::NetworkListObserver* observer) = 0; 559 webkit_glue::NetworkListObserver* observer) = 0;
572 virtual void RemoveNetworkListObserver( 560 virtual void RemoveNetworkListObserver(
573 webkit_glue::NetworkListObserver* observer) = 0; 561 webkit_glue::NetworkListObserver* observer) = 0;
574 562
575 // For PPB_X509Certificate_Private. 563 // For PPB_X509Certificate_Private.
576 virtual bool X509CertificateParseDER( 564 virtual bool X509CertificateParseDER(
577 const std::vector<char>& der, 565 const std::vector<char>& der,
578 ::ppapi::PPB_X509Certificate_Fields* fields) = 0; 566 ::ppapi::PPB_X509Certificate_Fields* fields) = 0;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 const EnumerateDevicesCallback& callback) = 0; 645 const EnumerateDevicesCallback& callback) = 0;
658 // Stop enumerating devices of the specified |request_id|. The |request_id| 646 // Stop enumerating devices of the specified |request_id|. The |request_id|
659 // is the return value of EnumerateDevicesCallback. 647 // is the return value of EnumerateDevicesCallback.
660 virtual void StopEnumerateDevices(int request_id) = 0; 648 virtual void StopEnumerateDevices(int request_id) = 0;
661 }; 649 };
662 650
663 } // namespace ppapi 651 } // namespace ppapi
664 } // namespace webkit 652 } // namespace webkit
665 653
666 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 654 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppb_host_resolver_private_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698