| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 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_C_DEV_PPP_PRINTING_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPP_PRINTING_DEV_H_ |
| 6 #define PPAPI_C_DEV_PPP_PRINTING_DEV_H_ | 6 #define PPAPI_C_DEV_PPP_PRINTING_DEV_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
| 9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
| 10 #include "ppapi/c/pp_macros.h" | 10 #include "ppapi/c/pp_macros.h" |
| 11 #include "ppapi/c/pp_rect.h" | 11 #include "ppapi/c/pp_rect.h" |
| 12 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
| 13 #include "ppapi/c/pp_stdint.h" | 13 #include "ppapi/c/pp_stdint.h" |
| 14 | 14 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 // PP_PrintOutputFormat_Raster and a PPB_Blob otherwise. Returns 0 on failure. | 69 // PP_PrintOutputFormat_Raster and a PPB_Blob otherwise. Returns 0 on failure. |
| 70 PP_Resource (*PrintPages)( | 70 PP_Resource (*PrintPages)( |
| 71 PP_Instance instance, | 71 PP_Instance instance, |
| 72 const struct PP_PrintPageNumberRange_Dev* page_ranges, | 72 const struct PP_PrintPageNumberRange_Dev* page_ranges, |
| 73 uint32_t page_range_count); | 73 uint32_t page_range_count); |
| 74 | 74 |
| 75 // Ends the print session. Further calls to PrintPage will fail. | 75 // Ends the print session. Further calls to PrintPage will fail. |
| 76 void (*End)(PP_Instance instance); | 76 void (*End)(PP_Instance instance); |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 #endif // PPAPI_C_DEV_PPP_PRINTING_DEV_H_ | 79 #endif /* PPAPI_C_DEV_PPP_PRINTING_DEV_H_ */ |
| 80 |
| OLD | NEW |