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

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

Issue 1425153006: Fix all relative includes to third_party. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 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 | « fpdfsdk/src/javascript/JS_Object.h ('k') | fpdfsdk/src/javascript/app.cpp » ('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 "../../../third_party/base/nonstd_unique_ptr.h"
8 #include "../../include/fsdk_mgr.h" // For CPDFDoc_Environment. 7 #include "../../include/fsdk_mgr.h" // For CPDFDoc_Environment.
9 #include "../../include/javascript/IJavaScript.h" 8 #include "../../include/javascript/IJavaScript.h"
9 #include "third_party/base/nonstd_unique_ptr.h"
10 10
11 class CJS_ContextStub final : public IJS_Context { 11 class CJS_ContextStub final : public IJS_Context {
12 public: 12 public:
13 CJS_ContextStub() {} 13 CJS_ContextStub() {}
14 ~CJS_ContextStub() override {} 14 ~CJS_ContextStub() override {}
15 15
16 // IJS_Context: 16 // IJS_Context:
17 FX_BOOL RunScript(const CFX_WideString& script, 17 FX_BOOL RunScript(const CFX_WideString& script,
18 CFX_WideString* info) override { 18 CFX_WideString* info) override {
19 return FALSE; 19 return FALSE;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 }; 148 };
149 149
150 // static 150 // static
151 void IJS_Runtime::Initialize(unsigned int slot, void* isolate) { 151 void IJS_Runtime::Initialize(unsigned int slot, void* isolate) {
152 } 152 }
153 153
154 // static 154 // static
155 IJS_Runtime* IJS_Runtime::Create(CPDFDoc_Environment* pEnv) { 155 IJS_Runtime* IJS_Runtime::Create(CPDFDoc_Environment* pEnv) {
156 return new CJS_RuntimeStub; 156 return new CJS_RuntimeStub;
157 } 157 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/javascript/JS_Object.h ('k') | fpdfsdk/src/javascript/app.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698