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

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

Issue 10826026: Add a printing resource (as a new style resource) to fetch the default print settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 | « no previous file | content/renderer/pepper/pepper_in_process_resource_creation.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 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 29 matching lines...) Expand all
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 CreateFileChooser( 45 virtual PP_Resource CreateFileChooser(
46 PP_Instance instance, 46 PP_Instance instance,
47 PP_FileChooserMode_Dev mode, 47 PP_FileChooserMode_Dev mode,
48 const char* accept_types) OVERRIDE; 48 const char* accept_types) OVERRIDE;
49 49
50 virtual PP_Resource CreatePrinting(
51 PP_Instance instance) OVERRIDE;
52
50 private: 53 private:
51 // Non-owning pointer to the host for the current plugin. 54 // Non-owning pointer to the host for the current plugin.
52 RendererPpapiHostImpl* host_impl_; 55 RendererPpapiHostImpl* host_impl_;
53 56
54 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); 57 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation);
55 }; 58 };
56 59
57 } // namespace content 60 } // namespace content
58 61
59 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ 62 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_in_process_resource_creation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698