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

Side by Side Diff: ppapi/proxy/resource_creation_proxy.h

Issue 10414085: Modified the pepper file chooser API to support filtering files by extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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
« no previous file with comments | « ppapi/proxy/ppb_file_chooser_proxy.cc ('k') | ppapi/proxy/resource_creation_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; 103 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE;
104 virtual PP_Resource CreateBrowserFont( 104 virtual PP_Resource CreateBrowserFont(
105 PP_Instance instance, 105 PP_Instance instance,
106 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; 106 const PP_BrowserFont_Trusted_Description* description) OVERRIDE;
107 virtual PP_Resource CreateBuffer(PP_Instance instance, 107 virtual PP_Resource CreateBuffer(PP_Instance instance,
108 uint32_t size) OVERRIDE; 108 uint32_t size) OVERRIDE;
109 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; 109 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE;
110 virtual PP_Resource CreateFileChooser( 110 virtual PP_Resource CreateFileChooser(
111 PP_Instance instance, 111 PP_Instance instance,
112 PP_FileChooserMode_Dev mode, 112 PP_FileChooserMode_Dev mode,
113 const char* accept_mime_types) OVERRIDE; 113 const char* accept_types) OVERRIDE;
114 virtual PP_Resource CreateFlashMenu(PP_Instance instance, 114 virtual PP_Resource CreateFlashMenu(PP_Instance instance,
115 const PP_Flash_Menu* menu_data) OVERRIDE; 115 const PP_Flash_Menu* menu_data) OVERRIDE;
116 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; 116 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE;
117 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, 117 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance,
118 const PP_Size& size, 118 const PP_Size& size,
119 PP_Bool is_always_opaque) OVERRIDE; 119 PP_Bool is_always_opaque) OVERRIDE;
120 virtual PP_Resource CreateGraphics3D(PP_Instance instance, 120 virtual PP_Resource CreateGraphics3D(PP_Instance instance,
121 PP_Resource share_context, 121 PP_Resource share_context,
122 const int32_t* attrib_list) OVERRIDE; 122 const int32_t* attrib_list) OVERRIDE;
123 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, 123 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance,
(...skipping 30 matching lines...) Expand all
154 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 154 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
155 155
156 private: 156 private:
157 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 157 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
158 }; 158 };
159 159
160 } // namespace proxy 160 } // namespace proxy
161 } // namespace ppapi 161 } // namespace ppapi
162 162
163 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 163 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_file_chooser_proxy.cc ('k') | ppapi/proxy/resource_creation_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698