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, int flags, const AsyncOpenFileCallback& callback) { | 140 const GURL& path, int flags, const AsyncOpenFileCallback& callback) { |
147 return false; | 141 return false; |
148 } | 142 } |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 MockPluginDelegate::CreateClipboardClient() const { | 453 MockPluginDelegate::CreateClipboardClient() const { |
460 return NULL; | 454 return NULL; |
461 } | 455 } |
462 | 456 |
463 std::string MockPluginDelegate::GetDeviceID() { | 457 std::string MockPluginDelegate::GetDeviceID() { |
464 return std::string(); | 458 return std::string(); |
465 } | 459 } |
466 | 460 |
467 } // namespace ppapi | 461 } // namespace ppapi |
468 } // namespace webkit | 462 } // namespace webkit |
OLD | NEW |