| 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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 | 461 |
| 462 int MockPluginDelegate::EnumerateDevices( | 462 int MockPluginDelegate::EnumerateDevices( |
| 463 PP_DeviceType_Dev type, | 463 PP_DeviceType_Dev type, |
| 464 const EnumerateDevicesCallback& callback) { | 464 const EnumerateDevicesCallback& callback) { |
| 465 return -1; | 465 return -1; |
| 466 } | 466 } |
| 467 | 467 |
| 468 void MockPluginDelegate::StopEnumerateDevices(int request_id) { | 468 void MockPluginDelegate::StopEnumerateDevices(int request_id) { |
| 469 } | 469 } |
| 470 | 470 |
| 471 webkit_glue::ClipboardClient* | |
| 472 MockPluginDelegate::CreateClipboardClient() const { | |
| 473 return NULL; | |
| 474 } | |
| 475 | |
| 476 std::string MockPluginDelegate::GetDeviceID() { | 471 std::string MockPluginDelegate::GetDeviceID() { |
| 477 return std::string(); | 472 return std::string(); |
| 478 } | 473 } |
| 479 | 474 |
| 480 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( | 475 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( |
| 481 const GURL& document_url, | 476 const GURL& document_url, |
| 482 const GURL& plugin_url) { | 477 const GURL& plugin_url) { |
| 483 return PP_FLASHLSORESTRICTIONS_NONE; | 478 return PP_FLASHLSORESTRICTIONS_NONE; |
| 484 } | 479 } |
| 485 | 480 |
| 486 } // namespace ppapi | 481 } // namespace ppapi |
| 487 } // namespace webkit | 482 } // namespace webkit |
| OLD | NEW |