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

Side by Side Diff: xfa/include/fxfa/fxfa_objectacc.h

Issue 1087053002: Merge to XFA: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 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/include/fxfa/fxfa.h ('k') | xfa/include/fxgraphics/fx_graphics.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 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 _FXFA_NODEACC_H 7 #ifndef _FXFA_NODEACC_H
8 #define _FXFA_NODEACC_H 8 #define _FXFA_NODEACC_H
9 class CXFA_Node; 9 class CXFA_Node;
10 class IFX_Locale; 10 class IFX_Locale;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 inline FX_BOOL XFA_IsSpace(FX_WCHAR c) 52 inline FX_BOOL XFA_IsSpace(FX_WCHAR c)
53 { 53 {
54 return (c == 0x20) || (c == 0x0d) || (c == 0x0a) || (c == 0x09); 54 return (c == 0x20) || (c == 0x0d) || (c == 0x0a) || (c == 0x09);
55 } 55 }
56 inline FX_BOOL XFA_IsDigit(FX_WCHAR c) 56 inline FX_BOOL XFA_IsDigit(FX_WCHAR c)
57 { 57 {
58 return c >= '0' && c <= '9'; 58 return c >= '0' && c <= '9';
59 } 59 }
60 typedef CFX_ArrayTemplate<CXFA_Node*> CXFA_NodeArray; 60 typedef CFX_ArrayTemplate<CXFA_Node*> CXFA_NodeArray;
61 typedef CFX_ArrayTemplate<CXFA_Object*> CXFA_ObjArray; 61 typedef CFX_ArrayTemplate<CXFA_Object*> CXFA_ObjArray;
62 class CXFA_Data : public CFX_Object 62 class CXFA_Data
63 { 63 {
64 public: 64 public:
65 CXFA_Data(CXFA_Node* pNode) : m_pNode(pNode) {} 65 CXFA_Data(CXFA_Node* pNode) : m_pNode(pNode) {}
66 operator CXFA_Node*() const 66 operator CXFA_Node*() const
67 { 67 {
68 return m_pNode; 68 return m_pNode;
69 } 69 }
70 CXFA_Node* GetNode() 70 CXFA_Node* GetNode()
71 { 71 {
72 return m_pNode; 72 return m_pNode;
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 }; 922 };
923 class CXFA_Manifest : public CXFA_Data 923 class CXFA_Manifest : public CXFA_Data
924 { 924 {
925 public: 925 public:
926 CXFA_Manifest(CXFA_Node* pNode) : CXFA_Data(pNode) {} 926 CXFA_Manifest(CXFA_Node* pNode) : CXFA_Data(pNode) {}
927 XFA_ATTRIBUTEENUM GetAction(); 927 XFA_ATTRIBUTEENUM GetAction();
928 FX_INT32 CountReives(); 928 FX_INT32 CountReives();
929 CFX_WideString GetRefContent(FX_INT32 nIndex); 929 CFX_WideString GetRefContent(FX_INT32 nIndex);
930 }; 930 };
931 #endif 931 #endif
OLDNEW
« no previous file with comments | « xfa/include/fxfa/fxfa.h ('k') | xfa/include/fxgraphics/fx_graphics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698