| 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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 bool MockPluginDelegate::IsPageVisible() const { | 404 bool MockPluginDelegate::IsPageVisible() const { |
| 405 return true; | 405 return true; |
| 406 } | 406 } |
| 407 | 407 |
| 408 int MockPluginDelegate::EnumerateDevices( | 408 int MockPluginDelegate::EnumerateDevices( |
| 409 PP_DeviceType_Dev type, | 409 PP_DeviceType_Dev type, |
| 410 const EnumerateDevicesCallback& callback) { | 410 const EnumerateDevicesCallback& callback) { |
| 411 return -1; | 411 return -1; |
| 412 } | 412 } |
| 413 | 413 |
| 414 webkit_glue::ClipboardClient* |
| 415 MockPluginDelegate::CreateClipboardClient() const { |
| 416 return NULL; |
| 417 } |
| 418 |
| 414 } // namespace ppapi | 419 } // namespace ppapi |
| 415 } // namespace webkit | 420 } // namespace webkit |
| OLD | NEW |