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

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

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 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
7 7
8 #include "webkit/plugins/ppapi/plugin_delegate.h" 8 #include "webkit/plugins/ppapi/plugin_delegate.h"
9 9
10 struct PP_NetAddress_Private; 10 struct PP_NetAddress_Private;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual PlatformAudioInput* CreateAudioInput( 54 virtual PlatformAudioInput* CreateAudioInput(
55 const std::string& device_id, 55 const std::string& device_id,
56 uint32_t sample_rate, 56 uint32_t sample_rate,
57 uint32_t sample_count, 57 uint32_t sample_count,
58 PlatformAudioInputClient* client); 58 PlatformAudioInputClient* client);
59 virtual Broker* ConnectToBroker(PPB_Broker_Impl* client); 59 virtual Broker* ConnectToBroker(PPB_Broker_Impl* client);
60 virtual void NumberOfFindResultsChanged(int identifier, 60 virtual void NumberOfFindResultsChanged(int identifier,
61 int total, 61 int total,
62 bool final_result); 62 bool final_result);
63 virtual void SelectedFindResultChanged(int identifier, int index); 63 virtual void SelectedFindResultChanged(int identifier, int index);
64 virtual bool RunFileChooser(
65 const WebKit::WebFileChooserParams& params,
66 WebKit::WebFileChooserCompletion* chooser_completion);
67 virtual bool AsyncOpenFile(const FilePath& path, 64 virtual bool AsyncOpenFile(const FilePath& path,
68 int flags, 65 int flags,
69 const AsyncOpenFileCallback& callback); 66 const AsyncOpenFileCallback& callback);
70 virtual bool AsyncOpenFileSystemURL( 67 virtual bool AsyncOpenFileSystemURL(
71 const GURL& path, 68 const GURL& path,
72 int flags, 69 int flags,
73 const AsyncOpenFileSystemURLCallback& callback); 70 const AsyncOpenFileSystemURLCallback& callback);
74 virtual bool OpenFileSystem( 71 virtual bool OpenFileSystem(
75 const GURL& url, 72 const GURL& url,
76 fileapi::FileSystemType type, 73 fileapi::FileSystemType type,
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 virtual int EnumerateDevices(PP_DeviceType_Dev type, 203 virtual int EnumerateDevices(PP_DeviceType_Dev type,
207 const EnumerateDevicesCallback& callback); 204 const EnumerateDevicesCallback& callback);
208 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; 205 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const;
209 virtual std::string GetDeviceID(); 206 virtual std::string GetDeviceID();
210 }; 207 };
211 208
212 } // namespace ppapi 209 } // namespace ppapi
213 } // namespace webkit 210 } // namespace webkit
214 211
215 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 212 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698