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

Side by Side Diff: ppapi/proxy/pdf_resource.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/proxy/DEPS ('k') | ppapi/proxy/pdf_resource.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_PROXY_PDF_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_PDF_RESOURCE_H_
6 #define PPAPI_PROXY_PDF_RESOURCE_H_ 6 #define PPAPI_PROXY_PDF_RESOURCE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual void HasUnsupportedFeature() override; 50 virtual void HasUnsupportedFeature() override;
51 virtual void Print() override; 51 virtual void Print() override;
52 virtual void SaveAs() override; 52 virtual void SaveAs() override;
53 virtual PP_Bool IsFeatureEnabled(PP_PDFFeature feature) override; 53 virtual PP_Bool IsFeatureEnabled(PP_PDFFeature feature) override;
54 virtual PP_Resource GetResourceImageForScale(PP_ResourceImage image_id, 54 virtual PP_Resource GetResourceImageForScale(PP_ResourceImage image_id,
55 float scale) override; 55 float scale) override;
56 virtual PP_Resource GetResourceImage(PP_ResourceImage image_id) override; 56 virtual PP_Resource GetResourceImage(PP_ResourceImage image_id) override;
57 virtual PP_Bool IsOutOfProcess() override; 57 virtual PP_Bool IsOutOfProcess() override;
58 virtual void SetSelectedText(const char* selected_text) override; 58 virtual void SetSelectedText(const char* selected_text) override;
59 virtual void SetLinkUnderCursor(const char* url) override; 59 virtual void SetLinkUnderCursor(const char* url) override;
60 virtual void GetV8ExternalSnapshotData(const char** natives_data_out,
61 int* natives_size_out,
62 const char** snapshot_data_out,
63 int* snapshot_size_out) override;
60 64
61 private: 65 private:
62 std::string locale_; 66 std::string locale_;
63 67
64 DISALLOW_COPY_AND_ASSIGN(PDFResource); 68 DISALLOW_COPY_AND_ASSIGN(PDFResource);
65 }; 69 };
66 70
67 } // namespace proxy 71 } // namespace proxy
68 } // namespace ppapi 72 } // namespace ppapi
69 73
70 #endif // PPAPI_PROXY_PDF_RESOURCE_H_ 74 #endif // PPAPI_PROXY_PDF_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/DEPS ('k') | ppapi/proxy/pdf_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698