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

Side by Side Diff: xfa/fxfa/parser/cxfa_value.h

Issue 2089443002: Convert XFA_ELEMENT to an enum class (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: More unknown checks 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/parser/cxfa_validate.cpp ('k') | xfa/fxfa/parser/cxfa_value.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 XFA_FXFA_PARSER_CXFA_VALUE_H_ 7 #ifndef XFA_FXFA_PARSER_CXFA_VALUE_H_
8 #define XFA_FXFA_PARSER_CXFA_VALUE_H_ 8 #define XFA_FXFA_PARSER_CXFA_VALUE_H_
9 9
10 #include "core/fxcrt/include/fx_string.h" 10 #include "core/fxcrt/include/fx_string.h"
11 #include "xfa/fxfa/parser/cxfa_arc.h" 11 #include "xfa/fxfa/parser/cxfa_arc.h"
12 #include "xfa/fxfa/parser/cxfa_data.h" 12 #include "xfa/fxfa/parser/cxfa_data.h"
13 #include "xfa/fxfa/parser/cxfa_exdata.h" 13 #include "xfa/fxfa/parser/cxfa_exdata.h"
14 #include "xfa/fxfa/parser/cxfa_image.h" 14 #include "xfa/fxfa/parser/cxfa_image.h"
15 #include "xfa/fxfa/parser/cxfa_line.h" 15 #include "xfa/fxfa/parser/cxfa_line.h"
16 #include "xfa/fxfa/parser/cxfa_rectangle.h" 16 #include "xfa/fxfa/parser/cxfa_rectangle.h"
17 #include "xfa/fxfa/parser/cxfa_text.h" 17 #include "xfa/fxfa/parser/cxfa_text.h"
18 18
19 class CXFA_Node; 19 class CXFA_Node;
20 20
21 class CXFA_Value : public CXFA_Data { 21 class CXFA_Value : public CXFA_Data {
22 public: 22 public:
23 explicit CXFA_Value(CXFA_Node* pNode) : CXFA_Data(pNode) {} 23 explicit CXFA_Value(CXFA_Node* pNode) : CXFA_Data(pNode) {}
24 24
25 XFA_ELEMENT GetChildValueClassID(); 25 XFA_Element GetChildValueClassID();
26 FX_BOOL GetChildValueContent(CFX_WideString& wsContent); 26 FX_BOOL GetChildValueContent(CFX_WideString& wsContent);
27 CXFA_Arc GetArc(); 27 CXFA_Arc GetArc();
28 CXFA_Line GetLine(); 28 CXFA_Line GetLine();
29 CXFA_Rectangle GetRectangle(); 29 CXFA_Rectangle GetRectangle();
30 CXFA_Text GetText(); 30 CXFA_Text GetText();
31 CXFA_ExData GetExData(); 31 CXFA_ExData GetExData();
32 CXFA_Image GetImage(); 32 CXFA_Image GetImage();
33 }; 33 };
34 34
35 #endif // XFA_FXFA_PARSER_CXFA_VALUE_H_ 35 #endif // XFA_FXFA_PARSER_CXFA_VALUE_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/cxfa_validate.cpp ('k') | xfa/fxfa/parser/cxfa_value.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698