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

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

Issue 8511032: Make the Pepper Flash net address just private, not Flash-specific. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h"
6 6
7 #include "base/message_loop_proxy.h" 7 #include "base/message_loop_proxy.h"
8 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
9 #include "ppapi/shared_impl/ppapi_preferences.h" 9 #include "ppapi/shared_impl/ppapi_preferences.h"
10 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 10 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 214
215 int32_t MockPluginDelegate::ConnectTcp( 215 int32_t MockPluginDelegate::ConnectTcp(
216 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, 216 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
217 const char* host, 217 const char* host,
218 uint16_t port) { 218 uint16_t port) {
219 return PP_ERROR_FAILED; 219 return PP_ERROR_FAILED;
220 } 220 }
221 221
222 int32_t MockPluginDelegate::ConnectTcpAddress( 222 int32_t MockPluginDelegate::ConnectTcpAddress(
223 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, 223 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
224 const struct PP_Flash_NetAddress* addr) { 224 const PP_NetAddress_Private* addr) {
225 return PP_ERROR_FAILED; 225 return PP_ERROR_FAILED;
226 } 226 }
227 227
228 int32_t MockPluginDelegate::ShowContextMenu( 228 int32_t MockPluginDelegate::ShowContextMenu(
229 PluginInstance* instance, 229 PluginInstance* instance,
230 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 230 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
231 const gfx::Point& position) { 231 const gfx::Point& position) {
232 return PP_ERROR_FAILED; 232 return PP_ERROR_FAILED;
233 } 233 }
234 234
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 299
300 void MockPluginDelegate::DidReceiveMouseEvent(PluginInstance* instance) { 300 void MockPluginDelegate::DidReceiveMouseEvent(PluginInstance* instance) {
301 } 301 }
302 302
303 bool MockPluginDelegate::IsInFullscreenMode() { 303 bool MockPluginDelegate::IsInFullscreenMode() {
304 return false; 304 return false;
305 } 305 }
306 306
307 } // namespace ppapi 307 } // namespace ppapi
308 } // namespace webkit 308 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698