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

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

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: Created 4 years, 1 month 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/css/fde_css.h ('k') | xfa/fde/css/fde_cssdatatable.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_CSSCACHE_H_ 7 #ifndef XFA_FDE_CSS_FDE_CSSCACHE_H_
8 #define XFA_FDE_CSS_FDE_CSSCACHE_H_ 8 #define XFA_FDE_CSS_FDE_CSSCACHE_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 }; 51 };
52 52
53 class CFDE_CSSAccelerator : public CFX_Target { 53 class CFDE_CSSAccelerator : public CFX_Target {
54 public: 54 public:
55 CFDE_CSSAccelerator(); 55 CFDE_CSSAccelerator();
56 ~CFDE_CSSAccelerator() override; 56 ~CFDE_CSSAccelerator() override;
57 57
58 void OnEnterTag(CXFA_CSSTagProvider* pTag); 58 void OnEnterTag(CXFA_CSSTagProvider* pTag);
59 void OnLeaveTag(CXFA_CSSTagProvider* pTag); 59 void OnLeaveTag(CXFA_CSSTagProvider* pTag);
60 60
61 void Clear() { m_Stack.RemoveAll(FALSE); } 61 void Clear() { m_Stack.RemoveAll(false); }
62 62
63 FDE_CSSTagCache* GetTopElement() const { return m_Stack.GetTopElement(); } 63 FDE_CSSTagCache* GetTopElement() const { return m_Stack.GetTopElement(); }
64 64
65 protected: 65 protected:
66 CFX_ObjectStackTemplate<FDE_CSSTagCache> m_Stack; 66 CFX_ObjectStackTemplate<FDE_CSSTagCache> m_Stack;
67 }; 67 };
68 68
69 #endif // XFA_FDE_CSS_FDE_CSSCACHE_H_ 69 #endif // XFA_FDE_CSS_FDE_CSSCACHE_H_
OLDNEW
« no previous file with comments | « xfa/fde/css/fde_css.h ('k') | xfa/fde/css/fde_cssdatatable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698