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

Side by Side Diff: fpdfsdk/fpdfxfa/fpdfxfa_util.cpp

Issue 2335243002: Split fsdk_mgr files apart. (Closed)
Patch Set: Sort headers Created 4 years, 3 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 "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h" 7 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h"
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "fpdfsdk/include/cpdfdoc_environment.h"
11 #include "fpdfsdk/include/fsdk_define.h" 12 #include "fpdfsdk/include/fsdk_define.h"
12 #include "fpdfsdk/include/fsdk_mgr.h"
13 13
14 std::vector<CFWL_TimerInfo*>* CXFA_FWLAdapterTimerMgr::s_TimerArray = nullptr; 14 std::vector<CFWL_TimerInfo*>* CXFA_FWLAdapterTimerMgr::s_TimerArray = nullptr;
15 15
16 FWL_Error CXFA_FWLAdapterTimerMgr::Start(IFWL_Timer* pTimer, 16 FWL_Error CXFA_FWLAdapterTimerMgr::Start(IFWL_Timer* pTimer,
17 uint32_t dwElapse, 17 uint32_t dwElapse,
18 bool bImmediately, 18 bool bImmediately,
19 IFWL_TimerInfo** pTimerInfo) { 19 IFWL_TimerInfo** pTimerInfo) {
20 if (!m_pEnv) 20 if (!m_pEnv)
21 return FWL_Error::Indefinite; 21 return FWL_Error::Indefinite;
22 22
(...skipping 27 matching lines...) Expand all
50 if (!s_TimerArray) 50 if (!s_TimerArray)
51 return; 51 return;
52 52
53 for (CFWL_TimerInfo* pInfo : *s_TimerArray) { 53 for (CFWL_TimerInfo* pInfo : *s_TimerArray) {
54 if (pInfo->idEvent == idEvent) { 54 if (pInfo->idEvent == idEvent) {
55 pInfo->pTimer->Run(pInfo); 55 pInfo->pTimer->Run(pInfo);
56 break; 56 break;
57 } 57 }
58 } 58 }
59 } 59 }
OLDNEW
« BUILD.gn ('K') | « fpdfsdk/fpdfxfa/fpdfxfa_page.cpp ('k') | fpdfsdk/fsdk_actionhandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698