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

Side by Side Diff: xfa/fde/css/fde_cssdatatable.h

Issue 1944093002: Cleanup XFA-Specific memory allocators. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Dan's comments, remove more unused methods. Created 4 years, 7 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 | « no previous file | xfa/fde/css/fde_cssdatatable.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_FDE_CSS_FDE_CSSDATATABLE_H_ 7 #ifndef XFA_FDE_CSS_FDE_CSSDATATABLE_H_
8 #define XFA_FDE_CSS_FDE_CSSDATATABLE_H_ 8 #define XFA_FDE_CSS_FDE_CSSDATATABLE_H_
9 9
10 #include "core/fxcrt/include/fx_system.h" 10 #include "core/fxcrt/include/fx_system.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 FX_FLOAT m_fNumber; 84 FX_FLOAT m_fNumber;
85 const FX_WCHAR* m_pString; 85 const FX_WCHAR* m_pString;
86 FDE_CSSPROPERTYVALUE m_eEnum; 86 FDE_CSSPROPERTYVALUE m_eEnum;
87 CFDE_CSSFunction* m_pFunction; 87 CFDE_CSSFunction* m_pFunction;
88 }; 88 };
89 }; 89 };
90 typedef CFX_ArrayTemplate<IFDE_CSSPrimitiveValue*> CFDE_CSSPrimitiveArray; 90 typedef CFX_ArrayTemplate<IFDE_CSSPrimitiveValue*> CFDE_CSSPrimitiveArray;
91 typedef CFX_ArrayTemplate<IFDE_CSSValue*> CFDE_CSSValueArray; 91 typedef CFX_ArrayTemplate<IFDE_CSSValue*> CFDE_CSSValueArray;
92 class CFDE_CSSValueList : public IFDE_CSSValueList, public CFX_Target { 92 class CFDE_CSSValueList : public IFDE_CSSValueList, public CFX_Target {
93 public: 93 public:
94 CFDE_CSSValueList(IFX_MEMAllocator* pStaticStore, 94 CFDE_CSSValueList(IFX_MemoryAllocator* pStaticStore,
95 const CFDE_CSSValueArray& list); 95 const CFDE_CSSValueArray& list);
96 virtual int32_t CountValues() const { return m_iCount; } 96 virtual int32_t CountValues() const { return m_iCount; }
97 virtual IFDE_CSSValue* GetValue(int32_t index) const { 97 virtual IFDE_CSSValue* GetValue(int32_t index) const {
98 return m_ppList[index]; 98 return m_ppList[index];
99 } 99 }
100 100
101 protected: 101 protected:
102 IFDE_CSSValue** m_ppList; 102 IFDE_CSSValue** m_ppList;
103 int32_t m_iCount; 103 int32_t m_iCount;
104 }; 104 };
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 int32_t& iLength); 189 int32_t& iLength);
190 FX_BOOL FDE_ParseCSSColor(const FX_WCHAR* pszValue, 190 FX_BOOL FDE_ParseCSSColor(const FX_WCHAR* pszValue,
191 int32_t iValueLen, 191 int32_t iValueLen,
192 FX_ARGB& dwColor); 192 FX_ARGB& dwColor);
193 FX_BOOL FDE_ParseCSSURI(const FX_WCHAR* pszValue, 193 FX_BOOL FDE_ParseCSSURI(const FX_WCHAR* pszValue,
194 int32_t iValueLen, 194 int32_t iValueLen,
195 int32_t& iOffset, 195 int32_t& iOffset,
196 int32_t& iLength); 196 int32_t& iLength);
197 197
198 #endif // XFA_FDE_CSS_FDE_CSSDATATABLE_H_ 198 #endif // XFA_FDE_CSS_FDE_CSSDATATABLE_H_
OLDNEW
« no previous file with comments | « no previous file | xfa/fde/css/fde_cssdatatable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698