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

Side by Side Diff: content/renderer/pepper/pepper_plugin_delegate_impl.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 CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 namespace webkit { 52 namespace webkit {
53 struct WebPluginInfo; 53 struct WebPluginInfo;
54 namespace ppapi { 54 namespace ppapi {
55 class PluginInstance; 55 class PluginInstance;
56 class PluginModule; 56 class PluginModule;
57 } 57 }
58 } 58 }
59 59
60 namespace WebKit { 60 namespace WebKit {
61 class WebFileChooserCompletion;
62 class WebGamepads; 61 class WebGamepads;
63 class WebMouseEvent; 62 class WebMouseEvent;
64 struct WebCompositionUnderline; 63 struct WebCompositionUnderline;
65 struct WebFileChooserParams;
66 } 64 }
67 65
68 namespace content { 66 namespace content {
69 67
70 struct CustomContextMenuContext; 68 struct CustomContextMenuContext;
71 class GamepadSharedMemoryReader; 69 class GamepadSharedMemoryReader;
72 class PepperBrokerImpl; 70 class PepperBrokerImpl;
73 class PepperDeviceEnumerationEventHandler; 71 class PepperDeviceEnumerationEventHandler;
74 class PepperPluginDelegateImpl; 72 class PepperPluginDelegateImpl;
75 73
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 PlatformVideoCaptureEventHandler* handler) OVERRIDE; 200 PlatformVideoCaptureEventHandler* handler) OVERRIDE;
203 virtual PlatformVideoDecoder* CreateVideoDecoder( 201 virtual PlatformVideoDecoder* CreateVideoDecoder(
204 media::VideoDecodeAccelerator::Client* client, 202 media::VideoDecodeAccelerator::Client* client,
205 int32 command_buffer_route_id) OVERRIDE; 203 int32 command_buffer_route_id) OVERRIDE;
206 virtual Broker* ConnectToBroker( 204 virtual Broker* ConnectToBroker(
207 webkit::ppapi::PPB_Broker_Impl* client) OVERRIDE; 205 webkit::ppapi::PPB_Broker_Impl* client) OVERRIDE;
208 virtual void NumberOfFindResultsChanged(int identifier, 206 virtual void NumberOfFindResultsChanged(int identifier,
209 int total, 207 int total,
210 bool final_result) OVERRIDE; 208 bool final_result) OVERRIDE;
211 virtual void SelectedFindResultChanged(int identifier, int index) OVERRIDE; 209 virtual void SelectedFindResultChanged(int identifier, int index) OVERRIDE;
212 virtual bool RunFileChooser(
213 const WebKit::WebFileChooserParams& params,
214 WebKit::WebFileChooserCompletion* chooser_completion) OVERRIDE;
215 virtual bool AsyncOpenFile(const FilePath& path, 210 virtual bool AsyncOpenFile(const FilePath& path,
216 int flags, 211 int flags,
217 const AsyncOpenFileCallback& callback) OVERRIDE; 212 const AsyncOpenFileCallback& callback) OVERRIDE;
218 virtual bool AsyncOpenFileSystemURL( 213 virtual bool AsyncOpenFileSystemURL(
219 const GURL& path, 214 const GURL& path,
220 int flags, 215 int flags,
221 const AsyncOpenFileSystemURLCallback& callback) OVERRIDE; 216 const AsyncOpenFileSystemURLCallback& callback) OVERRIDE;
222 virtual bool OpenFileSystem( 217 virtual bool OpenFileSystem(
223 const GURL& url, 218 const GURL& url,
224 fileapi::FileSystemType type, 219 fileapi::FileSystemType type,
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 509
515 scoped_ptr<PepperDeviceEnumerationEventHandler> 510 scoped_ptr<PepperDeviceEnumerationEventHandler>
516 device_enumeration_event_handler_; 511 device_enumeration_event_handler_;
517 512
518 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 513 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
519 }; 514 };
520 515
521 } // namespace content 516 } // namespace content
522 517
523 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 518 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698