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

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

Issue 9455092: HostResolver is exposed to plugin. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added shared declaration of GetPPB_HostResolver_Private_0_1_Thunk. 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
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_MOCK_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
7 7
8 #include "webkit/plugins/ppapi/plugin_delegate.h" 8 #include "webkit/plugins/ppapi/plugin_delegate.h"
9 9
10 struct PP_NetAddress_Private; 10 struct PP_NetAddress_Private;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 const std::string& buffer, 135 const std::string& buffer,
136 const PP_NetAddress_Private& addr); 136 const PP_NetAddress_Private& addr);
137 virtual void UDPSocketClose(uint32 socket_id); 137 virtual void UDPSocketClose(uint32 socket_id);
138 virtual void TCPServerSocketListen(PPB_TCPServerSocket_Private_Impl* socket, 138 virtual void TCPServerSocketListen(PPB_TCPServerSocket_Private_Impl* socket,
139 uint32 temp_socket_id, 139 uint32 temp_socket_id,
140 const PP_NetAddress_Private& addr, 140 const PP_NetAddress_Private& addr,
141 int32_t backlog); 141 int32_t backlog);
142 virtual void TCPServerSocketAccept(uint32 real_socket_id); 142 virtual void TCPServerSocketAccept(uint32 real_socket_id);
143 virtual void TCPServerSocketStopListening(uint32 real_socket_id, 143 virtual void TCPServerSocketStopListening(uint32 real_socket_id,
144 uint32 temp_socket_id); 144 uint32 temp_socket_id);
145 virtual void RegisterHostResolver(
146 ::ppapi::PPB_HostResolver_Shared* host_resolver,
147 uint32 host_resolver_id);
148 virtual void HostResolverResolve(
149 uint32 host_resolver_id,
150 const std::string& host,
151 uint16_t port,
152 const PP_HostResolver_Private_Hint* hint);
153 virtual void UnregisterHostResolver(uint32 host_resolver_id);
145 virtual int32_t ShowContextMenu( 154 virtual int32_t ShowContextMenu(
146 PluginInstance* instance, 155 PluginInstance* instance,
147 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 156 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
148 const gfx::Point& position); 157 const gfx::Point& position);
149 virtual FullscreenContainer* CreateFullscreenContainer( 158 virtual FullscreenContainer* CreateFullscreenContainer(
150 PluginInstance* instance); 159 PluginInstance* instance);
151 virtual gfx::Size GetScreenSize(); 160 virtual gfx::Size GetScreenSize();
152 virtual std::string GetDefaultEncoding(); 161 virtual std::string GetDefaultEncoding();
153 virtual void ZoomLimitsChanged(double minimum_factor, 162 virtual void ZoomLimitsChanged(double minimum_factor,
154 double maximum_factor); 163 double maximum_factor);
(...skipping 18 matching lines...) Expand all
173 virtual bool IsPageVisible() const; 182 virtual bool IsPageVisible() const;
174 virtual int EnumerateDevices(PP_DeviceType_Dev type, 183 virtual int EnumerateDevices(PP_DeviceType_Dev type,
175 const EnumerateDevicesCallback& callback); 184 const EnumerateDevicesCallback& callback);
176 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; 185 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const;
177 }; 186 };
178 187
179 } // namespace ppapi 188 } // namespace ppapi
180 } // namespace webkit 189 } // namespace webkit
181 190
182 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 191 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698