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

Side by Side Diff: ppapi/thunk/ppb_pdf_api.h

Issue 718453003: Initialize V8 in PDFium from external files (plugin process only) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix API Created 6 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/tests/test_pdf.cc ('k') | ppapi/thunk/ppb_pdf_thunk.cc » ('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_THUNK_PPB_PDF_API_H_ 5 #ifndef PPAPI_THUNK_PPB_PDF_API_H_
6 #define PPAPI_THUNK_PPB_PDF_API_H_ 6 #define PPAPI_THUNK_PPB_PDF_API_H_
7 7
8 #include "ppapi/c/private/ppb_pdf.h" 8 #include "ppapi/c/private/ppb_pdf.h"
9 #include "ppapi/shared_impl/singleton_resource_id.h" 9 #include "ppapi/shared_impl/singleton_resource_id.h"
10 10
(...skipping 16 matching lines...) Expand all
27 virtual void UserMetricsRecordAction(const PP_Var& action) = 0; 27 virtual void UserMetricsRecordAction(const PP_Var& action) = 0;
28 virtual void HasUnsupportedFeature() = 0; 28 virtual void HasUnsupportedFeature() = 0;
29 virtual void SaveAs() = 0; 29 virtual void SaveAs() = 0;
30 virtual PP_Bool IsFeatureEnabled(PP_PDFFeature feature) = 0; 30 virtual PP_Bool IsFeatureEnabled(PP_PDFFeature feature) = 0;
31 virtual void Print() = 0; 31 virtual void Print() = 0;
32 virtual PP_Resource GetResourceImageForScale(PP_ResourceImage image_id, 32 virtual PP_Resource GetResourceImageForScale(PP_ResourceImage image_id,
33 float scale) = 0; 33 float scale) = 0;
34 virtual PP_Bool IsOutOfProcess() = 0; 34 virtual PP_Bool IsOutOfProcess() = 0;
35 virtual void SetSelectedText(const char* selected_text) = 0; 35 virtual void SetSelectedText(const char* selected_text) = 0;
36 virtual void SetLinkUnderCursor(const char* url) = 0; 36 virtual void SetLinkUnderCursor(const char* url) = 0;
37 virtual void GetV8ExternalSnapshotData(const char** natives_data_out,
38 int* natives_size_out,
39 const char** snapshot_data_out,
40 int* snapshot_size_out) = 0;
37 41
38 static const SingletonResourceID kSingletonResourceID = PDF_SINGLETON_ID; 42 static const SingletonResourceID kSingletonResourceID = PDF_SINGLETON_ID;
39 }; 43 };
40 44
41 } // namespace thunk 45 } // namespace thunk
42 } // namespace ppapi 46 } // namespace ppapi
43 47
44 #endif // PPAPI_THUNK_PPB_PDF_API_H_ 48 #endif // PPAPI_THUNK_PPB_PDF_API_H_
OLDNEW
« no previous file with comments | « ppapi/tests/test_pdf.cc ('k') | ppapi/thunk/ppb_pdf_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698