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

Side by Side Diff: ppapi/cpp/dev/printing_dev.h

Issue 197623005: Rename PPB_Find_Dev to PPB_Find_Private (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/cpp/dev/find_dev.cc ('k') | ppapi/cpp/private/find_private.h » ('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_CPP_DEV_PRINTING_DEV_H_ 5 #ifndef PPAPI_CPP_DEV_PRINTING_DEV_H_
6 #define PPAPI_CPP_DEV_PRINTING_DEV_H_ 6 #define PPAPI_CPP_DEV_PRINTING_DEV_H_
7 7
8 #include "ppapi/c/dev/ppp_printing_dev.h" 8 #include "ppapi/c/dev/ppp_printing_dev.h"
9 #include "ppapi/cpp/completion_callback.h" 9 #include "ppapi/cpp/completion_callback.h"
10 #include "ppapi/cpp/instance_handle.h" 10 #include "ppapi/cpp/instance_handle.h"
11 #include "ppapi/cpp/resource.h" 11 #include "ppapi/cpp/resource.h"
12 12
13 namespace pp { 13 namespace pp {
14 14
15 class Instance; 15 class Instance;
16 16
17 // You would typically use this either via inheritance on your instance or 17 // You would typically use this either via inheritance on your instance or
18 // by composition: see find_dev.h for an example. 18 // by composition: see find_private.h for an example.
19 class Printing_Dev : public Resource { 19 class Printing_Dev : public Resource {
20 public: 20 public:
21 // The instance parameter must outlive this class. 21 // The instance parameter must outlive this class.
22 explicit Printing_Dev(Instance* instance); 22 explicit Printing_Dev(Instance* instance);
23 virtual ~Printing_Dev(); 23 virtual ~Printing_Dev();
24 24
25 // PPP_Printing_Dev functions exposed as virtual functions for you to 25 // PPP_Printing_Dev functions exposed as virtual functions for you to
26 // override. 26 // override.
27 virtual uint32_t QuerySupportedPrintOutputFormats() = 0; 27 virtual uint32_t QuerySupportedPrintOutputFormats() = 0;
28 virtual int32_t PrintBegin(const PP_PrintSettings_Dev& print_settings) = 0; 28 virtual int32_t PrintBegin(const PP_PrintSettings_Dev& print_settings) = 0;
(...skipping 11 matching lines...) Expand all
40 int32_t GetDefaultPrintSettings( 40 int32_t GetDefaultPrintSettings(
41 const CompletionCallbackWithOutput<PP_PrintSettings_Dev>& callback) const; 41 const CompletionCallbackWithOutput<PP_PrintSettings_Dev>& callback) const;
42 42
43 private: 43 private:
44 InstanceHandle associated_instance_; 44 InstanceHandle associated_instance_;
45 }; 45 };
46 46
47 } // namespace pp 47 } // namespace pp
48 48
49 #endif // PPAPI_CPP_DEV_PRINTING_DEV_H_ 49 #endif // PPAPI_CPP_DEV_PRINTING_DEV_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/dev/find_dev.cc ('k') | ppapi/cpp/private/find_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698