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

Side by Side Diff: fpdfsdk/pdfsdk_fieldaction.h

Issue 2453683011: Remove FX_BOOL from fpdfsdk. (Closed)
Patch Set: Regenerate patch after rebase. 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 | « fpdfsdk/javascript/util.cpp ('k') | fpdfsdk/pdfsdk_fieldaction.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_PDFSDK_FIELDACTION_H_ 7 #ifndef FPDFSDK_PDFSDK_FIELDACTION_H_
8 #define FPDFSDK_PDFSDK_FIELDACTION_H_ 8 #define FPDFSDK_PDFSDK_FIELDACTION_H_
9 9
10 #include "core/fxcrt/fx_string.h" 10 #include "core/fxcrt/fx_string.h"
11 11
12 #ifdef PDF_ENABLE_XFA 12 #ifdef PDF_ENABLE_XFA
13 typedef enum { 13 typedef enum {
14 PDFSDK_XFA_Click = 0, 14 PDFSDK_XFA_Click = 0,
15 PDFSDK_XFA_Full, 15 PDFSDK_XFA_Full,
16 PDFSDK_XFA_PreOpen, 16 PDFSDK_XFA_PreOpen,
17 PDFSDK_XFA_PostOpen 17 PDFSDK_XFA_PostOpen
18 } PDFSDK_XFAAActionType; 18 } PDFSDK_XFAAActionType;
19 #endif // PDF_ENABLE_XFA 19 #endif // PDF_ENABLE_XFA
20 20
21 struct PDFSDK_FieldAction { 21 struct PDFSDK_FieldAction {
22 PDFSDK_FieldAction(); 22 PDFSDK_FieldAction();
23 PDFSDK_FieldAction(const PDFSDK_FieldAction& other) = delete; 23 PDFSDK_FieldAction(const PDFSDK_FieldAction& other) = delete;
24 24
25 FX_BOOL bModifier; 25 bool bModifier;
26 FX_BOOL bShift; 26 bool bShift;
27 int nCommitKey; 27 int nCommitKey;
28 CFX_WideString sChange; 28 CFX_WideString sChange;
29 CFX_WideString sChangeEx; 29 CFX_WideString sChangeEx;
30 FX_BOOL bKeyDown; 30 bool bKeyDown;
31 int nSelEnd; 31 int nSelEnd;
32 int nSelStart; 32 int nSelStart;
33 CFX_WideString sValue; 33 CFX_WideString sValue;
34 FX_BOOL bWillCommit; 34 bool bWillCommit;
35 FX_BOOL bFieldFull; 35 bool bFieldFull;
36 FX_BOOL bRC; 36 bool bRC;
37 }; 37 };
38 38
39 #endif // FPDFSDK_PDFSDK_FIELDACTION_H_ 39 #endif // FPDFSDK_PDFSDK_FIELDACTION_H_
OLDNEW
« no previous file with comments | « fpdfsdk/javascript/util.cpp ('k') | fpdfsdk/pdfsdk_fieldaction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698