Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.cc

Issue 10544089: Implement the file chooser as a new resource "host" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698