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

Side by Side Diff: xfa/fxfa/parser/xfa_basic_data.cpp

Issue 1821043003: Remove FX_WORD in favor of uint16_t. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Use stdint.h directly, bitfield minefield. Created 4 years, 9 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/xfa_basic_data.h ('k') | xfa/fxfa/parser/xfa_basic_imp.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 #include "xfa/fxfa/parser/xfa_basic_data.h" 7 #include "xfa/fxfa/parser/xfa_basic_data.h"
8 8
9 #include "xfa/fxfa/fm2js/xfa_fm2jsapi.h" 9 #include "xfa/fxfa/fm2js/xfa_fm2jsapi.h"
10 #include "xfa/fxfa/parser/xfa_basic_imp.h" 10 #include "xfa/fxfa/parser/xfa_basic_imp.h"
(...skipping 2224 matching lines...) Expand 10 before | Expand all | Expand 10 after
2235 {82, 0}, {82, 0}, {82, 0}, {82, 0}, {82, 0}, {82, 0}, {82, 1}, 2235 {82, 0}, {82, 0}, {82, 0}, {82, 0}, {82, 0}, {82, 0}, {82, 1},
2236 {83, 0}, {83, 0}, {83, 0}, {83, 0}, {83, 0}, {83, 0}, {83, 11}, 2236 {83, 0}, {83, 0}, {83, 0}, {83, 0}, {83, 0}, {83, 0}, {83, 11},
2237 {94, 0}, {94, 0}, {94, 0}, {94, 0}, {94, 0}, {94, 11}, {105, 106}, 2237 {94, 0}, {94, 0}, {94, 0}, {94, 0}, {94, 0}, {94, 11}, {105, 106},
2238 {211, 0}, {211, 0}, {211, 1}, {212, 0}, {212, 3}, {215, 1}, {216, 0}, 2238 {211, 0}, {211, 0}, {211, 1}, {212, 0}, {212, 3}, {215, 1}, {216, 0},
2239 {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 0}, 2239 {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 0},
2240 {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 12}, {228, 0}, 2240 {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 12}, {228, 0},
2241 {228, 0}, {228, 0}, {228, 0}, {228, 0}, {228, 0}, {228, 0}, {228, 0}, 2241 {228, 0}, {228, 0}, {228, 0}, {228, 0}, {228, 0}, {228, 0}, {228, 0},
2242 {228, 0}, {228, 2}, {230, 0}, {230, 0}, {230, 0}, {230, 0}, {230, 0}, 2242 {228, 0}, {228, 2}, {230, 0}, {230, 0}, {230, 0}, {230, 0}, {230, 0},
2243 {230, 0}, {230, 0}, {230, 0}, {230, 10}, 2243 {230, 0}, {230, 0}, {230, 0}, {230, 10},
2244 }; 2244 };
2245 const FX_WORD g_XFAElementChildrenData[] = { 2245 const uint16_t g_XFAElementChildrenData[] = {
2246 XFA_ELEMENT_Extras, 2246 XFA_ELEMENT_Extras,
2247 XFA_ELEMENT_SubformSet, 2247 XFA_ELEMENT_SubformSet,
2248 XFA_ELEMENT_BreakBefore, 2248 XFA_ELEMENT_BreakBefore,
2249 XFA_ELEMENT_Subform, 2249 XFA_ELEMENT_Subform,
2250 XFA_ELEMENT_BreakAfter, 2250 XFA_ELEMENT_BreakAfter,
2251 XFA_ELEMENT_AlwaysEmbed, 2251 XFA_ELEMENT_AlwaysEmbed,
2252 XFA_ELEMENT_DefaultTypeface, 2252 XFA_ELEMENT_DefaultTypeface,
2253 XFA_ELEMENT_NeverEmbed, 2253 XFA_ELEMENT_NeverEmbed,
2254 XFA_ELEMENT_Source, 2254 XFA_ELEMENT_Source,
2255 XFA_ELEMENT_Equate, 2255 XFA_ELEMENT_Equate,
(...skipping 5068 matching lines...) Expand 10 before | Expand all | Expand 10 after
7324 XFA_SCRIPT_Object}, 7324 XFA_SCRIPT_Object},
7325 {0xa52682bd, L"{default}", 7325 {0xa52682bd, L"{default}",
7326 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1, 7326 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1,
7327 XFA_SCRIPT_Basic}, 7327 XFA_SCRIPT_Basic},
7328 {0xd6e27f1d, L"value", 7328 {0xd6e27f1d, L"value",
7329 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1, 7329 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1,
7330 XFA_SCRIPT_Basic}, 7330 XFA_SCRIPT_Basic},
7331 }; 7331 };
7332 const int32_t g_iSomAttributeCount = 7332 const int32_t g_iSomAttributeCount =
7333 sizeof(g_SomAttributeData) / sizeof(XFA_ATTRIBUTEINFO); 7333 sizeof(g_SomAttributeData) / sizeof(XFA_ATTRIBUTEINFO);
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_basic_data.h ('k') | xfa/fxfa/parser/xfa_basic_imp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698