| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 } | 123 } |
| 124 | 124 |
| 125 void MockPluginDelegate::NumberOfFindResultsChanged(int identifier, | 125 void MockPluginDelegate::NumberOfFindResultsChanged(int identifier, |
| 126 int total, | 126 int total, |
| 127 bool final_result) { | 127 bool final_result) { |
| 128 } | 128 } |
| 129 | 129 |
| 130 void MockPluginDelegate::SelectedFindResultChanged(int identifier, int index) { | 130 void MockPluginDelegate::SelectedFindResultChanged(int identifier, int index) { |
| 131 } | 131 } |
| 132 | 132 |
| 133 bool MockPluginDelegate::RunFileChooser( | |
| 134 const WebKit::WebFileChooserParams& params, | |
| 135 WebKit::WebFileChooserCompletion* chooser_completion) { | |
| 136 return false; | |
| 137 } | |
| 138 | |
| 139 bool MockPluginDelegate::AsyncOpenFile(const FilePath& path, | 133 bool MockPluginDelegate::AsyncOpenFile(const FilePath& path, |
| 140 int flags, | 134 int flags, |
| 141 const AsyncOpenFileCallback& callback) { | 135 const AsyncOpenFileCallback& callback) { |
| 142 return false; | 136 return false; |
| 143 } | 137 } |
| 144 | 138 |
| 145 bool MockPluginDelegate::AsyncOpenFileSystemURL( | 139 bool MockPluginDelegate::AsyncOpenFileSystemURL( |
| 146 const GURL& path, | 140 const GURL& path, |
| 147 int flags, | 141 int flags, |
| 148 const AsyncOpenFileSystemURLCallback& callback) { | 142 const AsyncOpenFileSystemURLCallback& callback) { |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 MockPluginDelegate::CreateClipboardClient() const { | 455 MockPluginDelegate::CreateClipboardClient() const { |
| 462 return NULL; | 456 return NULL; |
| 463 } | 457 } |
| 464 | 458 |
| 465 std::string MockPluginDelegate::GetDeviceID() { | 459 std::string MockPluginDelegate::GetDeviceID() { |
| 466 return std::string(); | 460 return std::string(); |
| 467 } | 461 } |
| 468 | 462 |
| 469 } // namespace ppapi | 463 } // namespace ppapi |
| 470 } // namespace webkit | 464 } // namespace webkit |
| OLD | NEW |