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

Side by Side Diff: ppapi/c/private/ppb_pdf.h

Issue 1428653002: PPAPI: Remove PPB_Font_Dev. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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
« no previous file with comments | « ppapi/c/dev/ppb_font_dev.h ('k') | ppapi/cpp/dev/font_dev.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PRIVATE_PPB_PDF_H_ 5 #ifndef PPAPI_C_PRIVATE_PPB_PDF_H_
6 #define PPAPI_C_PRIVATE_PPB_PDF_H_ 6 #define PPAPI_C_PRIVATE_PPB_PDF_H_
7 7
8 #include "ppapi/c/dev/ppb_font_dev.h"
9 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
10 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
11 #include "ppapi/c/pp_resource.h" 10 #include "ppapi/c/pp_resource.h"
12 #include "ppapi/c/pp_var.h" 11 #include "ppapi/c/pp_var.h"
13 #include "ppapi/c/private/pp_private_font_charset.h" 12 #include "ppapi/c/private/pp_private_font_charset.h"
14 13
15 #define PPB_PDF_INTERFACE "PPB_PDF;1" 14 #define PPB_PDF_INTERFACE "PPB_PDF;1"
16 15
17 // From the public PPB_Font_Dev file.
18 struct PP_FontDescription_Dev;
19
20 typedef enum { 16 typedef enum {
21 PP_PDFFEATURE_HIDPI = 0, 17 PP_PDFFEATURE_HIDPI = 0,
22 PP_PDFFEATURE_PRINTING = 1 18 PP_PDFFEATURE_PRINTING = 1
23 } PP_PDFFeature; 19 } PP_PDFFeature;
24 20
25 struct PP_PrivateFontFileDescription { 21 struct PP_PrivateFontFileDescription {
26 const char* face; 22 const char* face;
27 uint32_t weight; 23 uint32_t weight;
28 bool italic; 24 bool italic;
29 }; 25 };
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // Gets pointers to both the mmap'd V8 snapshot files and their sizes. 89 // Gets pointers to both the mmap'd V8 snapshot files and their sizes.
94 // This is needed when loading V8's initial snapshot from external files. 90 // This is needed when loading V8's initial snapshot from external files.
95 void (*GetV8ExternalSnapshotData)(PP_Instance instance, 91 void (*GetV8ExternalSnapshotData)(PP_Instance instance,
96 const char** natives_data_out, 92 const char** natives_data_out,
97 int* natives_size_out, 93 int* natives_size_out,
98 const char** snapshot_data_out, 94 const char** snapshot_data_out,
99 int* snapshot_size_out); 95 int* snapshot_size_out);
100 }; 96 };
101 97
102 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ 98 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_font_dev.h ('k') | ppapi/cpp/dev/font_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698