| 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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 | 321 |
| 322 bool MockPluginDelegate::AddNetworkListObserver( | 322 bool MockPluginDelegate::AddNetworkListObserver( |
| 323 webkit_glue::NetworkListObserver* observer) { | 323 webkit_glue::NetworkListObserver* observer) { |
| 324 return false; | 324 return false; |
| 325 } | 325 } |
| 326 | 326 |
| 327 void MockPluginDelegate::RemoveNetworkListObserver( | 327 void MockPluginDelegate::RemoveNetworkListObserver( |
| 328 webkit_glue::NetworkListObserver* observer) { | 328 webkit_glue::NetworkListObserver* observer) { |
| 329 } | 329 } |
| 330 | 330 |
| 331 bool MockPluginDelegate::X509CertificateParseDER( |
| 332 const std::vector<char>& der, |
| 333 ::ppapi::PPB_X509Certificate_Fields* fields) { |
| 334 return false; |
| 335 } |
| 336 |
| 331 int32_t MockPluginDelegate::ShowContextMenu( | 337 int32_t MockPluginDelegate::ShowContextMenu( |
| 332 PluginInstance* instance, | 338 PluginInstance* instance, |
| 333 webkit::ppapi::PPB_Flash_Menu_Impl* menu, | 339 webkit::ppapi::PPB_Flash_Menu_Impl* menu, |
| 334 const gfx::Point& position) { | 340 const gfx::Point& position) { |
| 335 return PP_ERROR_FAILED; | 341 return PP_ERROR_FAILED; |
| 336 } | 342 } |
| 337 | 343 |
| 338 FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer( | 344 FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer( |
| 339 PluginInstance* instance) { | 345 PluginInstance* instance) { |
| 340 return NULL; | 346 return NULL; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 return -1; | 431 return -1; |
| 426 } | 432 } |
| 427 | 433 |
| 428 webkit_glue::ClipboardClient* | 434 webkit_glue::ClipboardClient* |
| 429 MockPluginDelegate::CreateClipboardClient() const { | 435 MockPluginDelegate::CreateClipboardClient() const { |
| 430 return NULL; | 436 return NULL; |
| 431 } | 437 } |
| 432 | 438 |
| 433 } // namespace ppapi | 439 } // namespace ppapi |
| 434 } // namespace webkit | 440 } // namespace webkit |
| OLD | NEW |