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

Side by Side Diff: xfa/src/fxfa/src/fm2js/xfa_fm2jscontext.cpp

Issue 1745023003: Remove xfa_fm2js.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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/src/fxfa/src/fm2js/xfa_fm2jscontext.h ('k') | xfa/src/fxfa/src/fm2js/xfa_fmparse.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/src/fxfa/src/fm2js/xfa_fm2jscontext.h"
8
7 #include <time.h> 9 #include <time.h>
8 10
9 #include "core/include/fxcrt/fx_ext.h" 11 #include "core/include/fxcrt/fx_ext.h"
12 #include "xfa/src/fgas/include/fx_locale.h"
10 #include "xfa/src/fxfa/src/common/fxfa_localevalue.h" 13 #include "xfa/src/fxfa/src/common/fxfa_localevalue.h"
11 #include "xfa/src/fxfa/src/fm2js/xfa_fm2js.h" 14 #include "xfa/src/fxfa/src/common/xfa_document.h"
15 #include "xfa/src/fxfa/src/common/xfa_fm2jsapi.h"
16 #include "xfa/src/fxfa/src/common/xfa_parser.h"
12 17
13 #define FINANCIAL_PRECISION 0.00000001 18 #define FINANCIAL_PRECISION 0.00000001
14 19
15 namespace { 20 namespace {
16 21
17 struct XFA_FMHtmlReserveCode { 22 struct XFA_FMHtmlReserveCode {
18 uint32_t m_uCode; 23 uint32_t m_uCode;
19 const FX_WCHAR* m_htmlReserve; 24 const FX_WCHAR* m_htmlReserve;
20 }; 25 };
21 struct XFA_FMHtmlHashedReserveCode { 26 struct XFA_FMHtmlHashedReserveCode {
(...skipping 7187 matching lines...) Expand 10 before | Expand all | Expand 10 after
7209 FXSYS_assert(pAppProvider); 7214 FXSYS_assert(pAppProvider);
7210 CFX_WideString wsFormat; 7215 CFX_WideString wsFormat;
7211 pAppProvider->LoadString(iStringID, wsFormat); 7216 pAppProvider->LoadString(iStringID, wsFormat);
7212 CFX_WideString wsMessage; 7217 CFX_WideString wsMessage;
7213 va_list arg_ptr; 7218 va_list arg_ptr;
7214 va_start(arg_ptr, iStringID); 7219 va_start(arg_ptr, iStringID);
7215 wsMessage.FormatV((const FX_WCHAR*)wsFormat, arg_ptr); 7220 wsMessage.FormatV((const FX_WCHAR*)wsFormat, arg_ptr);
7216 va_end(arg_ptr); 7221 va_end(arg_ptr);
7217 FXJSE_ThrowMessage("", FX_UTF8Encode(wsMessage, wsMessage.GetLength())); 7222 FXJSE_ThrowMessage("", FX_UTF8Encode(wsMessage, wsMessage.GetLength()));
7218 } 7223 }
OLDNEW
« no previous file with comments | « xfa/src/fxfa/src/fm2js/xfa_fm2jscontext.h ('k') | xfa/src/fxfa/src/fm2js/xfa_fmparse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698