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

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

Issue 1277043002: XFA: clang-format all pdfium code, again. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 4 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
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 bModifier = FALSE; 43 bModifier = FALSE;
44 bShift = FALSE; 44 bShift = FALSE;
45 nCommitKey = 0; 45 nCommitKey = 0;
46 bKeyDown = FALSE; 46 bKeyDown = FALSE;
47 nSelEnd = nSelStart = 0; 47 nSelEnd = nSelStart = 0;
48 bWillCommit = FALSE; 48 bWillCommit = FALSE;
49 bFieldFull = FALSE; 49 bFieldFull = FALSE;
50 bRC = TRUE; 50 bRC = TRUE;
51 } 51 }
52 52
53 FX_BOOL bModifier; // in 53 FX_BOOL bModifier; // in
54 FX_BOOL bShift; // in 54 FX_BOOL bShift; // in
55 int nCommitKey; // in 55 int nCommitKey; // in
56 CFX_WideString sChange; // in[out] 56 CFX_WideString sChange; // in[out]
57 CFX_WideString sChangeEx; // in 57 CFX_WideString sChangeEx; // in
58 FX_BOOL bKeyDown; // in 58 FX_BOOL bKeyDown; // in
59 int nSelEnd; // in[out] 59 int nSelEnd; // in[out]
60 int nSelStart; // in[out] 60 int nSelStart; // in[out]
61 CFX_WideString sValue; // in[out] 61 CFX_WideString sValue; // in[out]
62 FX_BOOL bWillCommit; // in 62 FX_BOOL bWillCommit; // in
63 FX_BOOL bFieldFull; // in 63 FX_BOOL bFieldFull; // in
64 FX_BOOL bRC; // in[out] 64 FX_BOOL bRC; // in[out]
65 } PDFSDK_FieldAction; 65 } PDFSDK_FieldAction;
66 class CPDFSDK_Widget : public CPDFSDK_BAAnnot { 66 class CPDFSDK_Widget : public CPDFSDK_BAAnnot {
67 public: 67 public:
68 IXFA_Widget* GetMixXFAWidget(); 68 IXFA_Widget* GetMixXFAWidget();
69 IXFA_Widget* GetGroupMixXFAWidget(); 69 IXFA_Widget* GetGroupMixXFAWidget();
70 IXFA_WidgetHandler* GetXFAWidgetHandler(); 70 IXFA_WidgetHandler* GetXFAWidgetHandler();
71 71
72 FX_BOOL HasXFAAAction(PDFSDK_XFAAActionType eXFAAAT); 72 FX_BOOL HasXFAAAction(PDFSDK_XFAAActionType eXFAAAT);
73 FX_BOOL OnXFAAAction(PDFSDK_XFAAActionType eXFAAAT, 73 FX_BOOL OnXFAAAction(PDFSDK_XFAAActionType eXFAAAT,
74 PDFSDK_FieldAction& data, 74 PDFSDK_FieldAction& data,
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); 378 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot);
379 379
380 CPDFSDK_PageView* m_pPageView; 380 CPDFSDK_PageView* m_pPageView;
381 CFX_ByteString m_sType; 381 CFX_ByteString m_sType;
382 CFX_ByteString m_sSubType; 382 CFX_ByteString m_sSubType;
383 int m_nTabs; 383 int m_nTabs;
384 CPDFSDK_Annots m_Annots; 384 CPDFSDK_Annots m_Annots;
385 }; 385 };
386 386
387 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 387 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698