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

Side by Side Diff: fpdfsdk/javascript/JS_Runtime_Stub.cpp

Issue 1799773002: Move fpdfsdk/src up to fpdfsdk/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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
« no previous file with comments | « fpdfsdk/javascript/JS_Runtime.cpp ('k') | fpdfsdk/javascript/JS_Value.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 2015 PDFium Authors. All rights reserved. 1 // Copyright 2015 PDFium 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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "fpdfsdk/include/fsdk_mgr.h" // For CPDFDoc_Environment. 9 #include "fpdfsdk/include/fsdk_mgr.h" // For CPDFDoc_Environment.
10 #include "fpdfsdk/include/javascript/IJavaScript.h" 10 #include "fpdfsdk/include/javascript/IJavaScript.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 CFX_WideString* info) override { 152 CFX_WideString* info) override {
153 return 0; 153 return 0;
154 } 154 }
155 155
156 protected: 156 protected:
157 CPDFSDK_Document* m_pDoc; 157 CPDFSDK_Document* m_pDoc;
158 std::unique_ptr<CJS_ContextStub> m_pContext; 158 std::unique_ptr<CJS_ContextStub> m_pContext;
159 }; 159 };
160 160
161 // static 161 // static
162 void IJS_Runtime::Initialize(unsigned int slot, void* isolate) { 162 void IJS_Runtime::Initialize(unsigned int slot, void* isolate) {}
163 }
164 163
165 // static 164 // static
166 IJS_Runtime* IJS_Runtime::Create(CPDFDoc_Environment* pEnv) { 165 IJS_Runtime* IJS_Runtime::Create(CPDFDoc_Environment* pEnv) {
167 return new CJS_RuntimeStub; 166 return new CJS_RuntimeStub;
168 } 167 }
OLDNEW
« no previous file with comments | « fpdfsdk/javascript/JS_Runtime.cpp ('k') | fpdfsdk/javascript/JS_Value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698