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

Side by Side Diff: xfa/fxfa/app/xfa_ffnotify.h

Issue 2031873003: Get rid of NULLs in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@nullptr_fpdfsdk
Patch Set: Created 4 years, 6 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/fxfa/app/xfa_ffimageedit.cpp ('k') | xfa/fxfa/app/xfa_ffnotify.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_FXFA_APP_XFA_FFNOTIFY_H_ 7 #ifndef XFA_FXFA_APP_XFA_FFNOTIFY_H_
8 #define XFA_FXFA_APP_XFA_FFNOTIFY_H_ 8 #define XFA_FXFA_APP_XFA_FFNOTIFY_H_
9 9
10 #include "xfa/fxfa/parser/xfa_document.h" 10 #include "xfa/fxfa/parser/xfa_document.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 FX_FLOAT& fCalcWidth, 46 FX_FLOAT& fCalcWidth,
47 FX_FLOAT& fCalcHeight); 47 FX_FLOAT& fCalcHeight);
48 FX_BOOL FindSplitPos(CXFA_Node* pItem, 48 FX_BOOL FindSplitPos(CXFA_Node* pItem,
49 int32_t iBlockIndex, 49 int32_t iBlockIndex,
50 FX_FLOAT& fCalcHeightPos); 50 FX_FLOAT& fCalcHeightPos);
51 FX_BOOL RunScript(CXFA_Node* pScript, CXFA_Node* pFormItem); 51 FX_BOOL RunScript(CXFA_Node* pScript, CXFA_Node* pFormItem);
52 int32_t ExecEventByDeepFirst(CXFA_Node* pFormNode, 52 int32_t ExecEventByDeepFirst(CXFA_Node* pFormNode,
53 XFA_EVENTTYPE eEventType, 53 XFA_EVENTTYPE eEventType,
54 FX_BOOL bIsFormReady = FALSE, 54 FX_BOOL bIsFormReady = FALSE,
55 FX_BOOL bRecursive = TRUE, 55 FX_BOOL bRecursive = TRUE,
56 CXFA_WidgetAcc* pExclude = NULL); 56 CXFA_WidgetAcc* pExclude = nullptr);
57 void AddCalcValidate(CXFA_Node* pNode); 57 void AddCalcValidate(CXFA_Node* pNode);
58 CXFA_FFDoc* GetHDOC(); 58 CXFA_FFDoc* GetHDOC();
59 IXFA_DocProvider* GetDocProvider(); 59 IXFA_DocProvider* GetDocProvider();
60 IXFA_AppProvider* GetAppProvider(); 60 IXFA_AppProvider* GetAppProvider();
61 CXFA_FFWidgetHandler* GetWidgetHandler(); 61 CXFA_FFWidgetHandler* GetWidgetHandler();
62 CXFA_FFWidget* GetHWidget(CXFA_LayoutItem* pLayoutItem); 62 CXFA_FFWidget* GetHWidget(CXFA_LayoutItem* pLayoutItem);
63 void OpenDropDownList(CXFA_FFWidget* hWidget); 63 void OpenDropDownList(CXFA_FFWidget* hWidget);
64 CFX_WideString GetCurrentDateTime(); 64 CFX_WideString GetCurrentDateTime();
65 void ResetData(CXFA_WidgetData* pWidgetData = NULL); 65 void ResetData(CXFA_WidgetData* pWidgetData = nullptr);
66 int32_t GetLayoutStatus(); 66 int32_t GetLayoutStatus();
67 void RunNodeInitialize(CXFA_Node* pNode); 67 void RunNodeInitialize(CXFA_Node* pNode);
68 void RunSubformIndexChange(CXFA_Node* pSubformNode); 68 void RunSubformIndexChange(CXFA_Node* pSubformNode);
69 CXFA_Node* GetFocusWidgetNode(); 69 CXFA_Node* GetFocusWidgetNode();
70 void SetFocusWidgetNode(CXFA_Node* pNode); 70 void SetFocusWidgetNode(CXFA_Node* pNode);
71 71
72 protected: 72 protected:
73 CXFA_FFDoc* const m_pDoc; 73 CXFA_FFDoc* const m_pDoc;
74 }; 74 };
75 75
76 #endif // XFA_FXFA_APP_XFA_FFNOTIFY_H_ 76 #endif // XFA_FXFA_APP_XFA_FFNOTIFY_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffimageedit.cpp ('k') | xfa/fxfa/app/xfa_ffnotify.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698