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

Side by Side Diff: ppapi/cpp/private/pdf.h

Issue 705623002: Initialize V8 in PDFium from external files (in-renderer process only). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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_CPP_PRIVATE_PDF_H_ 5 #ifndef PPAPI_CPP_PRIVATE_PDF_H_
6 #define PPAPI_CPP_PRIVATE_PDF_H_ 6 #define PPAPI_CPP_PRIVATE_PDF_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/private/ppb_pdf.h" 10 #include "ppapi/c/private/ppb_pdf.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 static ImageData GetResourceImageForScale(const InstanceHandle& instance, 56 static ImageData GetResourceImageForScale(const InstanceHandle& instance,
57 PP_ResourceImage image_id, 57 PP_ResourceImage image_id,
58 float scale); 58 float scale);
59 static Var ModalPromptForPassword(const InstanceHandle& instance, 59 static Var ModalPromptForPassword(const InstanceHandle& instance,
60 Var message); 60 Var message);
61 static bool IsOutOfProcess(const InstanceHandle& instance); 61 static bool IsOutOfProcess(const InstanceHandle& instance);
62 static void SetSelectedText(const InstanceHandle& instance, 62 static void SetSelectedText(const InstanceHandle& instance,
63 const char* selected_text); 63 const char* selected_text);
64 static void SetLinkUnderCursor(const InstanceHandle& instance, 64 static void SetLinkUnderCursor(const InstanceHandle& instance,
65 const char* url); 65 const char* url);
66 #if !defined(OS_ANDROID) && defined(V8_USE_EXTERNAL_STARTUP_DATA)
67 static const char* GetV8NativesData(const InstanceHandle& instance);
68 static const char* GetV8SnapshotData(const InstanceHandle& instance);
69 static int GetV8NativesSize(const InstanceHandle& instance);
70 static int GetV8SnapshotSize(const InstanceHandle& instance);
71 #endif // #if !defined(OS_ANDROID) && defined(V8_USE_EXTERNAL_STARTUP_DATA)
66 }; 72 };
67 73
68 } // namespace pp 74 } // namespace pp
69 75
70 #endif // PPAPI_CPP_PRIVATE_PDF_H_ 76 #endif // PPAPI_CPP_PRIVATE_PDF_H_
OLDNEW
« pdf/instance.cc ('K') | « ppapi/c/private/ppb_pdf.h ('k') | ppapi/cpp/private/pdf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698