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

Side by Side Diff: xfa/src/fxfa/src/parser/xfa_script_hostpseudomodel.cpp

Issue 1722803002: Sort includes in xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 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 #include "xfa/src/foxitlib.h" 7 #include "xfa/src/foxitlib.h"
8 #include "xfa/src/fxfa/src/common/xfa_utils.h" 8 #include "xfa/src/fxfa/src/common/xfa_docdata.h"
9 #include "xfa/src/fxfa/src/common/xfa_doclayout.h"
10 #include "xfa/src/fxfa/src/common/xfa_document.h"
11 #include "xfa/src/fxfa/src/common/xfa_fm2jsapi.h"
12 #include "xfa/src/fxfa/src/common/xfa_localemgr.h"
9 #include "xfa/src/fxfa/src/common/xfa_object.h" 13 #include "xfa/src/fxfa/src/common/xfa_object.h"
10 #include "xfa/src/fxfa/src/common/xfa_document.h"
11 #include "xfa/src/fxfa/src/common/xfa_parser.h" 14 #include "xfa/src/fxfa/src/common/xfa_parser.h"
12 #include "xfa/src/fxfa/src/common/xfa_script.h" 15 #include "xfa/src/fxfa/src/common/xfa_script.h"
13 #include "xfa/src/fxfa/src/common/xfa_docdata.h" 16 #include "xfa/src/fxfa/src/common/xfa_utils.h"
14 #include "xfa/src/fxfa/src/common/xfa_doclayout.h"
15 #include "xfa/src/fxfa/src/common/xfa_localemgr.h"
16 #include "xfa/src/fxfa/src/common/xfa_fm2jsapi.h"
17 #include "xfa/src/fxfa/src/parser/xfa_script_hostpseudomodel.h" 17 #include "xfa/src/fxfa/src/parser/xfa_script_hostpseudomodel.h"
18 CScript_HostPseudoModel::CScript_HostPseudoModel(CXFA_Document* pDocument) 18 CScript_HostPseudoModel::CScript_HostPseudoModel(CXFA_Document* pDocument)
19 : CXFA_OrdinaryObject(pDocument, XFA_ELEMENT_HostPseudoModel) { 19 : CXFA_OrdinaryObject(pDocument, XFA_ELEMENT_HostPseudoModel) {
20 m_uScriptHash = XFA_HASHCODE_Host; 20 m_uScriptHash = XFA_HASHCODE_Host;
21 } 21 }
22 CScript_HostPseudoModel::~CScript_HostPseudoModel() {} 22 CScript_HostPseudoModel::~CScript_HostPseudoModel() {}
23 void CScript_HostPseudoModel::Script_HostPseudoModel_LoadString( 23 void CScript_HostPseudoModel::Script_HostPseudoModel_LoadString(
24 FXJSE_HVALUE hValue, 24 FXJSE_HVALUE hValue,
25 IXFA_Notify* pNotify, 25 IXFA_Notify* pNotify,
26 FX_DWORD dwFlag) { 26 FX_DWORD dwFlag) {
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); 790 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify();
791 if (!pNotify) { 791 if (!pNotify) {
792 return; 792 return;
793 } 793 }
794 CFX_WideString wsDataTime = pNotify->GetCurrentDateTime(); 794 CFX_WideString wsDataTime = pNotify->GetCurrentDateTime();
795 FXJSE_HVALUE hValue = pArguments->GetReturnValue(); 795 FXJSE_HVALUE hValue = pArguments->GetReturnValue();
796 if (hValue) { 796 if (hValue) {
797 FXJSE_Value_SetUTF8String(hValue, FX_UTF8Encode(wsDataTime)); 797 FXJSE_Value_SetUTF8String(hValue, FX_UTF8Encode(wsDataTime));
798 } 798 }
799 } 799 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698