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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 } | 378 } |
379 | 379 |
380 webkit_glue::P2PTransport* MockPluginDelegate::CreateP2PTransport() { | 380 webkit_glue::P2PTransport* MockPluginDelegate::CreateP2PTransport() { |
381 return NULL; | 381 return NULL; |
382 } | 382 } |
383 | 383 |
384 double MockPluginDelegate::GetLocalTimeZoneOffset(base::Time t) { | 384 double MockPluginDelegate::GetLocalTimeZoneOffset(base::Time t) { |
385 return 0.0; | 385 return 0.0; |
386 } | 386 } |
387 | 387 |
388 std::string MockPluginDelegate::GetFlashCommandLineArgs() { | |
389 return std::string(); | |
390 } | |
391 | |
392 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( | 388 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( |
393 uint32_t size) { | 389 uint32_t size) { |
394 return NULL; | 390 return NULL; |
395 } | 391 } |
396 | 392 |
397 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { | 393 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { |
398 return ::ppapi::Preferences(); | 394 return ::ppapi::Preferences(); |
399 } | 395 } |
400 | 396 |
401 bool MockPluginDelegate::LockMouse(PluginInstance* instance) { | 397 bool MockPluginDelegate::LockMouse(PluginInstance* instance) { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 return -1; | 430 return -1; |
435 } | 431 } |
436 | 432 |
437 webkit_glue::ClipboardClient* | 433 webkit_glue::ClipboardClient* |
438 MockPluginDelegate::CreateClipboardClient() const { | 434 MockPluginDelegate::CreateClipboardClient() const { |
439 return NULL; | 435 return NULL; |
440 } | 436 } |
441 | 437 |
442 } // namespace ppapi | 438 } // namespace ppapi |
443 } // namespace webkit | 439 } // namespace webkit |
OLD | NEW |