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 WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ |
6 #define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ | 6 #define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ |
7 | 7 |
8 #include "third_party/ppapi/c/dev/ppb_font_dev.h" | 8 #include "ppapi/c/dev/ppb_font_dev.h" |
9 #include "third_party/ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
10 #include "third_party/ppapi/c/pp_module.h" | 10 #include "ppapi/c/pp_module.h" |
11 #include "third_party/ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
12 #include "third_party/ppapi/c/pp_var.h" | 12 #include "ppapi/c/pp_var.h" |
13 | 13 |
14 #define PPB_PRIVATE_INTERFACE "PPB_Private;1" | 14 #define PPB_PRIVATE_INTERFACE "PPB_Private;1" |
15 | 15 |
16 // From the public PPB_Font_Dev file. | 16 // From the public PPB_Font_Dev file. |
17 struct PP_FontDescription_Dev; | 17 struct PP_FontDescription_Dev; |
18 | 18 |
19 typedef enum { | 19 typedef enum { |
20 PP_RESOURCESTRING_PDFGETPASSWORD = 0, | 20 PP_RESOURCESTRING_PDFGETPASSWORD = 0, |
21 PP_RESOURCESTRING_PDFLOADING = 1 | 21 PP_RESOURCESTRING_PDFLOADING = 1 |
22 } PP_ResourceString; | 22 } PP_ResourceString; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 void (*SetContentRestriction)(PP_Instance instance, int restrictions); | 125 void (*SetContentRestriction)(PP_Instance instance, int restrictions); |
126 | 126 |
127 // Use UMA so we know average pdf page count. | 127 // Use UMA so we know average pdf page count. |
128 void (*HistogramPDFPageCount)(int count); | 128 void (*HistogramPDFPageCount)(int count); |
129 | 129 |
130 // Notifies the browser that the given action has been performed. | 130 // Notifies the browser that the given action has been performed. |
131 void (*UserMetricsRecordAction)(PP_Var action); | 131 void (*UserMetricsRecordAction)(PP_Var action); |
132 }; | 132 }; |
133 | 133 |
134 #endif // WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ | 134 #endif // WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ |
OLD | NEW |