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

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

Issue 6259008: When we detect a PDF with an unsupported feature, ask the user if they want t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months 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 | Annotate | Revision Log
« no previous file with comments | « chrome/tools/extract_actions.py ('k') | webkit/plugins/npapi/plugin_group.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" 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_resource.h" 10 #include "ppapi/c/pp_resource.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 // Sets content restriction for a full-page plugin (i.e. can't copy/print). 124 // Sets content restriction for a full-page plugin (i.e. can't copy/print).
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
134 // Notifies the browser that the PDF has an unsupported feature.
135 void (*HasUnsupportedFeature)(PP_Instance instance);
133 }; 136 };
134 137
135 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ 138 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_
OLDNEW
« no previous file with comments | « chrome/tools/extract_actions.py ('k') | webkit/plugins/npapi/plugin_group.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698