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

Unified Diff: xfa/fxfa/parser/cxfa_layoutprocessor.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fxfa/parser/cxfa_layoutpagemgr.cpp ('k') | xfa/fxfa/parser/cxfa_layoutprocessor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxfa/parser/cxfa_layoutprocessor.h
diff --git a/xfa/fxfa/parser/cxfa_layoutprocessor.h b/xfa/fxfa/parser/cxfa_layoutprocessor.h
index 365c5f296593f6d2887c7381b5ded562db4b4bd8..d735b385bdb66ea21bb8bfef15a10d8720ea9c52 100644
--- a/xfa/fxfa/parser/cxfa_layoutprocessor.h
+++ b/xfa/fxfa/parser/cxfa_layoutprocessor.h
@@ -24,15 +24,15 @@ class CXFA_LayoutProcessor {
~CXFA_LayoutProcessor();
CXFA_Document* GetDocument() const;
- int32_t StartLayout(FX_BOOL bForceRestart = FALSE);
+ int32_t StartLayout(bool bForceRestart = false);
int32_t DoLayout(IFX_Pause* pPause = nullptr);
- FX_BOOL IncrementLayout();
+ bool IncrementLayout();
int32_t CountPages() const;
CXFA_ContainerLayoutItem* GetPage(int32_t index) const;
CXFA_LayoutItem* GetLayoutItem(CXFA_Node* pFormItem);
void AddChangedContainer(CXFA_Node* pContainer);
- void SetForceReLayout(FX_BOOL bForceRestart) { m_bNeeLayout = bForceRestart; }
+ void SetForceReLayout(bool bForceRestart) { m_bNeeLayout = bForceRestart; }
CXFA_ContainerLayoutItem* GetRootLayoutItem() const;
CXFA_ItemLayoutProcessor* GetRootRootItemLayoutProcessor() {
return m_pRootItemLayoutProcessor;
@@ -42,14 +42,14 @@ class CXFA_LayoutProcessor {
private:
void ClearLayoutData();
- FX_BOOL IsNeedLayout();
+ bool IsNeedLayout();
CXFA_Document* m_pDocument;
CXFA_ItemLayoutProcessor* m_pRootItemLayoutProcessor;
CXFA_LayoutPageMgr* m_pLayoutPageMgr;
CXFA_NodeArray m_rgChangedContainers;
uint32_t m_nProgressCounter;
- FX_BOOL m_bNeeLayout;
+ bool m_bNeeLayout;
};
#endif // XFA_FXFA_PARSER_CXFA_LAYOUTPROCESSOR_H_
« no previous file with comments | « xfa/fxfa/parser/cxfa_layoutpagemgr.cpp ('k') | xfa/fxfa/parser/cxfa_layoutprocessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698