| 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 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" |    5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" | 
|    6  |    6  | 
|    7 #include "base/logging.h" |    7 #include "base/logging.h" | 
|    8 #include "base/message_loop_proxy.h" |    8 #include "base/message_loop_proxy.h" | 
|    9 #include "ppapi/c/pp_errors.h" |    9 #include "ppapi/c/pp_errors.h" | 
|   10 #include "ppapi/shared_impl/ppapi_preferences.h" |   10 #include "ppapi/shared_impl/ppapi_preferences.h" | 
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  307     int32_t backlog) { |  307     int32_t backlog) { | 
|  308 } |  308 } | 
|  309  |  309  | 
|  310 void MockPluginDelegate::TCPServerSocketAccept(uint32 real_socket_id) { |  310 void MockPluginDelegate::TCPServerSocketAccept(uint32 real_socket_id) { | 
|  311 } |  311 } | 
|  312  |  312  | 
|  313 void MockPluginDelegate::TCPServerSocketStopListening(uint32 real_socket_id, |  313 void MockPluginDelegate::TCPServerSocketStopListening(uint32 real_socket_id, | 
|  314                                                       uint32 temp_socket_id) { |  314                                                       uint32 temp_socket_id) { | 
|  315 } |  315 } | 
|  316  |  316  | 
 |  317 bool MockPluginDelegate::AddNetworkListObserver( | 
 |  318     webkit_glue::NetworkListObserver* observer) { | 
 |  319   return false; | 
 |  320 } | 
 |  321  | 
 |  322 void MockPluginDelegate::RemoveNetworkListObserver( | 
 |  323     webkit_glue::NetworkListObserver* observer) { | 
 |  324 } | 
 |  325  | 
|  317 int32_t MockPluginDelegate::ShowContextMenu( |  326 int32_t MockPluginDelegate::ShowContextMenu( | 
|  318     PluginInstance* instance, |  327     PluginInstance* instance, | 
|  319     webkit::ppapi::PPB_Flash_Menu_Impl* menu, |  328     webkit::ppapi::PPB_Flash_Menu_Impl* menu, | 
|  320     const gfx::Point& position) { |  329     const gfx::Point& position) { | 
|  321   return PP_ERROR_FAILED; |  330   return PP_ERROR_FAILED; | 
|  322 } |  331 } | 
|  323  |  332  | 
|  324 FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer( |  333 FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer( | 
|  325     PluginInstance* instance) { |  334     PluginInstance* instance) { | 
|  326   return NULL; |  335   return NULL; | 
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  411   return -1; |  420   return -1; | 
|  412 } |  421 } | 
|  413  |  422  | 
|  414 webkit_glue::ClipboardClient* |  423 webkit_glue::ClipboardClient* | 
|  415 MockPluginDelegate::CreateClipboardClient() const { |  424 MockPluginDelegate::CreateClipboardClient() const { | 
|  416   return NULL; |  425   return NULL; | 
|  417 } |  426 } | 
|  418  |  427  | 
|  419 }  // namespace ppapi |  428 }  // namespace ppapi | 
|  420 }  // namespace webkit |  429 }  // namespace webkit | 
| OLD | NEW |