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

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

Powered by Google App Engine
This is Rietveld 408576698