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

Side by Side Diff: fxjse/context.cpp

Issue 2056663004: Move xfa/fxjse/ to fxjse/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 6 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 | « fxjse/context.h ('k') | fxjse/dynprop.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 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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 "xfa/fxjse/context.h" 7 #include "fxjse/context.h"
8 8
9 #include "xfa/fxjse/class.h" 9 #include "fxjse/include/cfxjse_class.h"
10 #include "xfa/fxjse/scope_inline.h" 10 #include "fxjse/include/cfxjse_value.h"
11 #include "xfa/fxjse/value.h" 11 #include "fxjse/scope_inline.h"
12 12
13 namespace { 13 namespace {
14 14
15 const FX_CHAR szCompatibleModeScript[] = 15 const FX_CHAR szCompatibleModeScript[] =
16 "(function(global, list) {\n" 16 "(function(global, list) {\n"
17 " 'use strict';\n" 17 " 'use strict';\n"
18 " var objname;\n" 18 " var objname;\n"
19 " for (objname in list) {\n" 19 " for (objname in list) {\n"
20 " var globalobj = global[objname];\n" 20 " var globalobj = global[objname];\n"
21 " if (globalobj) {\n" 21 " if (globalobj) {\n"
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 return TRUE; 217 return TRUE;
218 } 218 }
219 } 219 }
220 if (lpRetValue) { 220 if (lpRetValue) {
221 lpRetValue->m_hValue.Reset(m_pIsolate, 221 lpRetValue->m_hValue.Reset(m_pIsolate,
222 FXJSE_CreateReturnValue(m_pIsolate, trycatch)); 222 FXJSE_CreateReturnValue(m_pIsolate, trycatch));
223 } 223 }
224 return FALSE; 224 return FALSE;
225 } 225 }
226 } 226 }
OLDNEW
« no previous file with comments | « fxjse/context.h ('k') | fxjse/dynprop.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698