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

Side by Side Diff: xfa/fxfa/fm2js/xfa_fm2jscontext.h

Issue 2334323005: Rename dictionary set and get methods (Closed)
Patch Set: Created 4 years, 3 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 | « xfa/fxfa/app/xfa_fontmgr.cpp ('k') | xfa/fxfa/fm2js/xfa_fm2jscontext.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 #ifndef XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ 7 #ifndef XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_
8 #define XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ 8 #define XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_
9 9
10 #include "fxjs/include/cfxjse_arguments.h" 10 #include "fxjs/include/cfxjse_arguments.h"
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 int32_t iStart = 0); 405 int32_t iStart = 0);
406 static void GetObjectDefaultValue(CFXJSE_Value* pObjectValue, 406 static void GetObjectDefaultValue(CFXJSE_Value* pObjectValue,
407 CFXJSE_Value* pDefaultValue); 407 CFXJSE_Value* pDefaultValue);
408 static FX_BOOL SetObjectDefaultValue(CFXJSE_Value* pObjectValue, 408 static FX_BOOL SetObjectDefaultValue(CFXJSE_Value* pObjectValue,
409 CFXJSE_Value* pNewValue); 409 CFXJSE_Value* pNewValue);
410 static void GenerateSomExpression(const CFX_ByteStringC& szName, 410 static void GenerateSomExpression(const CFX_ByteStringC& szName,
411 int32_t iIndexFlags, 411 int32_t iIndexFlags,
412 int32_t iIndexValue, 412 int32_t iIndexValue,
413 bool bIsStar, 413 bool bIsStar,
414 CFX_ByteString& szSomExp); 414 CFX_ByteString& szSomExp);
415 static FX_BOOL GetObjectByName(CFXJSE_Value* pThis, 415 static FX_BOOL GetObjectForName(CFXJSE_Value* pThis,
416 CFXJSE_Value* accessorValue, 416 CFXJSE_Value* accessorValue,
417 const CFX_ByteStringC& szAccessorName); 417 const CFX_ByteStringC& szAccessorName);
418 static int32_t ResolveObjects(CFXJSE_Value* pThis, 418 static int32_t ResolveObjects(CFXJSE_Value* pThis,
419 CFXJSE_Value* pParentValue, 419 CFXJSE_Value* pParentValue,
420 const CFX_ByteStringC& bsSomExp, 420 const CFX_ByteStringC& bsSomExp,
421 XFA_RESOLVENODE_RS& resoveNodeRS, 421 XFA_RESOLVENODE_RS& resoveNodeRS,
422 FX_BOOL bdotAccessor = TRUE, 422 FX_BOOL bdotAccessor = TRUE,
423 FX_BOOL bHasNoResolveName = FALSE); 423 FX_BOOL bHasNoResolveName = FALSE);
424 static void ParseResolveResult(CFXJSE_Value* pThis, 424 static void ParseResolveResult(CFXJSE_Value* pThis,
425 const XFA_RESOLVENODE_RS& resoveNodeRS, 425 const XFA_RESOLVENODE_RS& resoveNodeRS,
426 CFXJSE_Value* pParentValue, 426 CFXJSE_Value* pParentValue,
427 CFXJSE_Value**& resultValues, 427 CFXJSE_Value**& resultValues,
(...skipping 24 matching lines...) Expand all
452 CXFA_Document* GetDocument() const { return m_pDocument; } 452 CXFA_Document* GetDocument() const { return m_pDocument; }
453 void ThrowException(int32_t iStringID, ...); 453 void ThrowException(int32_t iStringID, ...);
454 454
455 v8::Isolate* m_pIsolate; 455 v8::Isolate* m_pIsolate;
456 CFXJSE_Class* m_pFMClass; 456 CFXJSE_Class* m_pFMClass;
457 std::unique_ptr<CFXJSE_Value> m_pValue; 457 std::unique_ptr<CFXJSE_Value> m_pValue;
458 CXFA_Document* const m_pDocument; 458 CXFA_Document* const m_pDocument;
459 }; 459 };
460 460
461 #endif // XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ 461 #endif // XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_fontmgr.cpp ('k') | xfa/fxfa/fm2js/xfa_fm2jscontext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698