| OLD | NEW |
| 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_SRC_FDE_CSS_FDE_CSSSTYLESELECTOR_H_ | 7 #ifndef XFA_FDE_CSS_FDE_CSSSTYLESELECTOR_H_ |
| 8 #define XFA_SRC_FDE_CSS_FDE_CSSSTYLESELECTOR_H_ | 8 #define XFA_FDE_CSS_FDE_CSSSTYLESELECTOR_H_ |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "core/include/fxcrt/fx_ext.h" | 12 #include "core/include/fxcrt/fx_ext.h" |
| 13 #include "xfa/src/fde/css/fde_css.h" | 13 #include "xfa/fde/css/fde_css.h" |
| 14 #include "xfa/src/fde/css/fde_csscache.h" | 14 #include "xfa/fde/css/fde_csscache.h" |
| 15 #include "xfa/src/fde/css/fde_cssdeclaration.h" | 15 #include "xfa/fde/css/fde_cssdeclaration.h" |
| 16 #include "xfa/src/fgas/crt/fgas_memory.h" | 16 #include "xfa/fgas/crt/fgas_memory.h" |
| 17 #include "xfa/src/fgas/crt/fgas_system.h" | 17 #include "xfa/fgas/crt/fgas_system.h" |
| 18 | 18 |
| 19 #define FDE_CSSUNIVERSALHASH ('*') | 19 #define FDE_CSSUNIVERSALHASH ('*') |
| 20 | 20 |
| 21 class FDE_CSSRuleData : public CFX_Target { | 21 class FDE_CSSRuleData : public CFX_Target { |
| 22 public: | 22 public: |
| 23 FDE_CSSRuleData(IFDE_CSSSelector* pSel, | 23 FDE_CSSRuleData(IFDE_CSSSelector* pSel, |
| 24 IFDE_CSSDeclaration* pDecl, | 24 IFDE_CSSDeclaration* pDecl, |
| 25 FX_DWORD dwPos); | 25 FX_DWORD dwPos); |
| 26 | 26 |
| 27 IFDE_CSSSelector* pSelector; | 27 IFDE_CSSSelector* pSelector; |
| (...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 m_CustomProperties.Add(wsName); | 891 m_CustomProperties.Add(wsName); |
| 892 m_CustomProperties.Add(wsValue); | 892 m_CustomProperties.Add(wsValue); |
| 893 } | 893 } |
| 894 FX_DWORD m_dwRefCount; | 894 FX_DWORD m_dwRefCount; |
| 895 IFX_MEMAllocator* m_pAllocator; | 895 IFX_MEMAllocator* m_pAllocator; |
| 896 CFDE_CSSInheritedData m_InheritedData; | 896 CFDE_CSSInheritedData m_InheritedData; |
| 897 CFDE_CSSNonInheritedData m_NonInheritedData; | 897 CFDE_CSSNonInheritedData m_NonInheritedData; |
| 898 CFX_WideStringArray m_CustomProperties; | 898 CFX_WideStringArray m_CustomProperties; |
| 899 }; | 899 }; |
| 900 | 900 |
| 901 #endif // XFA_SRC_FDE_CSS_FDE_CSSSTYLESELECTOR_H_ | 901 #endif // XFA_FDE_CSS_FDE_CSSSTYLESELECTOR_H_ |
| OLD | NEW |