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

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

Issue 2162503003: Cleanup fgas/crt. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Win fixes Created 4 years, 5 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/fde/cfde_txtedtpage.cpp ('k') | xfa/fde/css/fde_csscache.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 XFA_FDE_CSS_FDE_CSS_H_ 7 #ifndef XFA_FDE_CSS_FDE_CSS_H_
8 #define XFA_FDE_CSS_FDE_CSS_H_ 8 #define XFA_FDE_CSS_FDE_CSS_H_
9 9
10 #include "core/fxge/include/fx_dib.h" 10 #include "core/fxge/include/fx_dib.h"
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 virtual int32_t CountValues() const = 0; 711 virtual int32_t CountValues() const = 0;
712 virtual IFDE_CSSValue* GetValue(int32_t index) const = 0; 712 virtual IFDE_CSSValue* GetValue(int32_t index) const = 0;
713 }; 713 };
714 714
715 class IFDE_CSSRule { 715 class IFDE_CSSRule {
716 public: 716 public:
717 virtual ~IFDE_CSSRule() {} 717 virtual ~IFDE_CSSRule() {}
718 virtual FDE_CSSRULETYPE GetType() const = 0; 718 virtual FDE_CSSRULETYPE GetType() const = 0;
719 }; 719 };
720 720
721 typedef CFX_MassArrayTemplate<IFDE_CSSRule*> CFDE_CSSRuleArray;
722
723 class IFDE_CSSStyleRule : public IFDE_CSSRule { 721 class IFDE_CSSStyleRule : public IFDE_CSSRule {
724 public: 722 public:
725 // IFDE_CSSValue 723 // IFDE_CSSValue
726 FDE_CSSRULETYPE GetType() const override; 724 FDE_CSSRULETYPE GetType() const override;
727 725
728 virtual int32_t CountSelectorLists() const = 0; 726 virtual int32_t CountSelectorLists() const = 0;
729 virtual CFDE_CSSSelector* GetSelectorList(int32_t index) const = 0; 727 virtual CFDE_CSSSelector* GetSelectorList(int32_t index) const = 0;
730 virtual CFDE_CSSDeclaration* GetDeclaration() = 0; 728 virtual CFDE_CSSDeclaration* GetDeclaration() = 0;
731 }; 729 };
732 730
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 virtual void Reset() = 0; 895 virtual void Reset() = 0;
898 virtual IFDE_CSSFontStyle* GetFontStyles() = 0; 896 virtual IFDE_CSSFontStyle* GetFontStyles() = 0;
899 virtual IFDE_CSSBoundaryStyle* GetBoundaryStyles() = 0; 897 virtual IFDE_CSSBoundaryStyle* GetBoundaryStyles() = 0;
900 virtual IFDE_CSSPositionStyle* GetPositionStyles() = 0; 898 virtual IFDE_CSSPositionStyle* GetPositionStyles() = 0;
901 virtual IFDE_CSSParagraphStyle* GetParagraphStyles() = 0; 899 virtual IFDE_CSSParagraphStyle* GetParagraphStyles() = 0;
902 virtual FX_BOOL GetCustomStyle(const CFX_WideStringC& wsName, 900 virtual FX_BOOL GetCustomStyle(const CFX_WideStringC& wsName,
903 CFX_WideString& wsValue) const = 0; 901 CFX_WideString& wsValue) const = 0;
904 }; 902 };
905 903
906 #endif // XFA_FDE_CSS_FDE_CSS_H_ 904 #endif // XFA_FDE_CSS_FDE_CSS_H_
OLDNEW
« no previous file with comments | « xfa/fde/cfde_txtedtpage.cpp ('k') | xfa/fde/css/fde_csscache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698