| OLD | NEW |
| 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 <stdint.h> |
| 9 |
| 8 #include "ppapi/c/dev/ppp_printing_dev.h" | 10 #include "ppapi/c/dev/ppp_printing_dev.h" |
| 9 #include "ppapi/cpp/completion_callback.h" | 11 #include "ppapi/cpp/completion_callback.h" |
| 10 #include "ppapi/cpp/instance_handle.h" | 12 #include "ppapi/cpp/instance_handle.h" |
| 11 #include "ppapi/cpp/resource.h" | 13 #include "ppapi/cpp/resource.h" |
| 12 | 14 |
| 13 namespace pp { | 15 namespace pp { |
| 14 | 16 |
| 15 class Instance; | 17 class Instance; |
| 16 | 18 |
| 17 // You would typically use this either via inheritance on your instance or | 19 // You would typically use this either via inheritance on your instance or |
| (...skipping 22 matching lines...) Expand all Loading... |
| 40 int32_t GetDefaultPrintSettings( | 42 int32_t GetDefaultPrintSettings( |
| 41 const CompletionCallbackWithOutput<PP_PrintSettings_Dev>& callback) const; | 43 const CompletionCallbackWithOutput<PP_PrintSettings_Dev>& callback) const; |
| 42 | 44 |
| 43 private: | 45 private: |
| 44 InstanceHandle associated_instance_; | 46 InstanceHandle associated_instance_; |
| 45 }; | 47 }; |
| 46 | 48 |
| 47 } // namespace pp | 49 } // namespace pp |
| 48 | 50 |
| 49 #endif // PPAPI_CPP_DEV_PRINTING_DEV_H_ | 51 #endif // PPAPI_CPP_DEV_PRINTING_DEV_H_ |
| OLD | NEW |