OLD | NEW |
1 // Copyright (c) 2010 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 WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ | 5 #ifndef PPAPI_C_PRIVATE_PPB_PDF_H_ |
6 #define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ | 6 #define PPAPI_C_PRIVATE_PPB_PDF_H_ |
7 | 7 |
8 #include "ppapi/c/dev/ppb_font_dev.h" | 8 #include "ppapi/c/dev/ppb_font_dev.h" |
9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
10 #include "ppapi/c/pp_module.h" | 10 #include "ppapi/c/pp_module.h" |
11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
12 #include "ppapi/c/pp_var.h" | 12 #include "ppapi/c/pp_var.h" |
13 | 13 |
14 #define PPB_PDF_INTERFACE "PPB_PDF;1" | 14 #define PPB_PDF_INTERFACE "PPB_PDF;1" |
15 | 15 |
16 // From the public PPB_Font_Dev file. | 16 // From the public PPB_Font_Dev file. |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 // The value is a bitfield of ContentRestriction enums. | 125 // The value is a bitfield of ContentRestriction enums. |
126 void (*SetContentRestriction)(PP_Instance instance, int restrictions); | 126 void (*SetContentRestriction)(PP_Instance instance, int restrictions); |
127 | 127 |
128 // Use UMA so we know average pdf page count. | 128 // Use UMA so we know average pdf page count. |
129 void (*HistogramPDFPageCount)(int count); | 129 void (*HistogramPDFPageCount)(int count); |
130 | 130 |
131 // Notifies the browser that the given action has been performed. | 131 // Notifies the browser that the given action has been performed. |
132 void (*UserMetricsRecordAction)(PP_Var action); | 132 void (*UserMetricsRecordAction)(PP_Var action); |
133 }; | 133 }; |
134 | 134 |
135 #endif // WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ | 135 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ |
OLD | NEW |