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

Side by Side Diff: fpdfsdk/include/fsdk_baseform.h

Issue 1722873002: Remove many _CAPS structure names. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits. Created 4 years, 10 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 | « core/src/fxge/android/fpf_skiafontmgr.cpp ('k') | fpdfsdk/include/fx_systemhandler.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 FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 7 #ifndef FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
9 9
10 #if _FX_OS_ == _FX_ANDROID_ 10 #if _FX_OS_ == _FX_ANDROID_
(...skipping 23 matching lines...) Expand all
34 34
35 #ifdef PDF_ENABLE_XFA 35 #ifdef PDF_ENABLE_XFA
36 typedef enum _PDFSDK_XFAAActionType { 36 typedef enum _PDFSDK_XFAAActionType {
37 PDFSDK_XFA_Click = 0, 37 PDFSDK_XFA_Click = 0,
38 PDFSDK_XFA_Full, 38 PDFSDK_XFA_Full,
39 PDFSDK_XFA_PreOpen, 39 PDFSDK_XFA_PreOpen,
40 PDFSDK_XFA_PostOpen 40 PDFSDK_XFA_PostOpen
41 } PDFSDK_XFAAActionType; 41 } PDFSDK_XFAAActionType;
42 #endif // PDF_ENABLE_XFA 42 #endif // PDF_ENABLE_XFA
43 43
44 typedef struct _PDFSDK_FieldAction { 44 struct PDFSDK_FieldAction {
45 _PDFSDK_FieldAction() { 45 PDFSDK_FieldAction() {
46 bModifier = FALSE; 46 bModifier = FALSE;
47 bShift = FALSE; 47 bShift = FALSE;
48 nCommitKey = 0; 48 nCommitKey = 0;
49 bKeyDown = FALSE; 49 bKeyDown = FALSE;
50 nSelEnd = nSelStart = 0; 50 nSelEnd = nSelStart = 0;
51 bWillCommit = FALSE; 51 bWillCommit = FALSE;
52 bFieldFull = FALSE; 52 bFieldFull = FALSE;
53 bRC = TRUE; 53 bRC = TRUE;
54 } 54 }
55 55
56 FX_BOOL bModifier; // in 56 FX_BOOL bModifier; // in
57 FX_BOOL bShift; // in 57 FX_BOOL bShift; // in
58 int nCommitKey; // in 58 int nCommitKey; // in
59 CFX_WideString sChange; // in[out] 59 CFX_WideString sChange; // in[out]
60 CFX_WideString sChangeEx; // in 60 CFX_WideString sChangeEx; // in
61 FX_BOOL bKeyDown; // in 61 FX_BOOL bKeyDown; // in
62 int nSelEnd; // in[out] 62 int nSelEnd; // in[out]
63 int nSelStart; // in[out] 63 int nSelStart; // in[out]
64 CFX_WideString sValue; // in[out] 64 CFX_WideString sValue; // in[out]
65 FX_BOOL bWillCommit; // in 65 FX_BOOL bWillCommit; // in
66 FX_BOOL bFieldFull; // in 66 FX_BOOL bFieldFull; // in
67 FX_BOOL bRC; // in[out] 67 FX_BOOL bRC; // in[out]
68 } PDFSDK_FieldAction; 68 };
69 69
70 class CPDFSDK_Widget : public CPDFSDK_BAAnnot { 70 class CPDFSDK_Widget : public CPDFSDK_BAAnnot {
71 public: 71 public:
72 #ifdef PDF_ENABLE_XFA 72 #ifdef PDF_ENABLE_XFA
73 IXFA_Widget* GetMixXFAWidget() const; 73 IXFA_Widget* GetMixXFAWidget() const;
74 IXFA_Widget* GetGroupMixXFAWidget(); 74 IXFA_Widget* GetGroupMixXFAWidget();
75 IXFA_WidgetHandler* GetXFAWidgetHandler() const; 75 IXFA_WidgetHandler* GetXFAWidgetHandler() const;
76 76
77 FX_BOOL HasXFAAAction(PDFSDK_XFAAActionType eXFAAAT); 77 FX_BOOL HasXFAAAction(PDFSDK_XFAAActionType eXFAAAT);
78 FX_BOOL OnXFAAAction(PDFSDK_XFAAActionType eXFAAAT, 78 FX_BOOL OnXFAAAction(PDFSDK_XFAAActionType eXFAAAT,
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 const CPDFSDK_Annot* p2); 395 const CPDFSDK_Annot* p2);
396 396
397 TabOrder m_eTabOrder; 397 TabOrder m_eTabOrder;
398 CPDFSDK_PageView* m_pPageView; 398 CPDFSDK_PageView* m_pPageView;
399 CFX_ByteString m_sType; 399 CFX_ByteString m_sType;
400 CFX_ByteString m_sSubType; 400 CFX_ByteString m_sSubType;
401 std::vector<CPDFSDK_Annot*> m_Annots; 401 std::vector<CPDFSDK_Annot*> m_Annots;
402 }; 402 };
403 403
404 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 404 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
OLDNEW
« no previous file with comments | « core/src/fxge/android/fpf_skiafontmgr.cpp ('k') | fpdfsdk/include/fx_systemhandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698