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

Side by Side Diff: content/renderer/pepper/pepper_in_process_resource_creation.h

Issue 11958033: Implement Pepper proxy for PPB_DirectoryReader (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test failure Created 7 years, 10 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_IN_PROCESS_RESOURCE_CREATION_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ppapi/proxy/connection.h" 10 #include "ppapi/proxy/connection.h"
(...skipping 27 matching lines...) Expand all
38 : public webkit::ppapi::ResourceCreationImpl { 38 : public webkit::ppapi::ResourceCreationImpl {
39 public: 39 public:
40 PepperInProcessResourceCreation(RendererPpapiHostImpl* host_impl, 40 PepperInProcessResourceCreation(RendererPpapiHostImpl* host_impl,
41 webkit::ppapi::PluginInstance* instance); 41 webkit::ppapi::PluginInstance* instance);
42 virtual ~PepperInProcessResourceCreation(); 42 virtual ~PepperInProcessResourceCreation();
43 43
44 // ResourceCreation_API implementation. 44 // ResourceCreation_API implementation.
45 virtual PP_Resource CreateBrowserFont( 45 virtual PP_Resource CreateBrowserFont(
46 PP_Instance instance, 46 PP_Instance instance,
47 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; 47 const PP_BrowserFont_Trusted_Description* description) OVERRIDE;
48 virtual PP_Resource CreateDirectoryReader(
49 PP_Instance instance,
50 PP_Resource directory_ref) OVERRIDE;
48 virtual PP_Resource CreateFileChooser( 51 virtual PP_Resource CreateFileChooser(
49 PP_Instance instance, 52 PP_Instance instance,
50 PP_FileChooserMode_Dev mode, 53 PP_FileChooserMode_Dev mode,
51 const char* accept_types) OVERRIDE; 54 const char* accept_types) OVERRIDE;
52 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; 55 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE;
53 virtual PP_Resource CreateGraphics2D( 56 virtual PP_Resource CreateGraphics2D(
54 PP_Instance pp_instance, 57 PP_Instance pp_instance,
55 const PP_Size& size, 58 const PP_Size& size,
56 PP_Bool is_always_opaque) OVERRIDE; 59 PP_Bool is_always_opaque) OVERRIDE;
57 virtual PP_Resource CreatePrinting( 60 virtual PP_Resource CreatePrinting(
(...skipping 12 matching lines...) Expand all
70 private: 73 private:
71 // Non-owning pointer to the host for the current plugin. 74 // Non-owning pointer to the host for the current plugin.
72 RendererPpapiHostImpl* host_impl_; 75 RendererPpapiHostImpl* host_impl_;
73 76
74 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); 77 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation);
75 }; 78 };
76 79
77 } // namespace content 80 } // namespace content
78 81
79 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ 82 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698