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

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

Issue 1711793002: Sort headers in non-xfa directories. (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 "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h"
7 #include "fpdfsdk/include/fsdk_define.h" 8 #include "fpdfsdk/include/fsdk_define.h"
8 #include "fpdfsdk/include/fsdk_mgr.h" 9 #include "fpdfsdk/include/fsdk_mgr.h"
9 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h"
10 10
11 std::vector<CFWL_TimerInfo*> CXFA_FWLAdapterTimerMgr::s_TimerArray; 11 std::vector<CFWL_TimerInfo*> CXFA_FWLAdapterTimerMgr::s_TimerArray;
12 12
13 FWL_ERR CXFA_FWLAdapterTimerMgr::Start(IFWL_Timer* pTimer, 13 FWL_ERR CXFA_FWLAdapterTimerMgr::Start(IFWL_Timer* pTimer,
14 FX_DWORD dwElapse, 14 FX_DWORD dwElapse,
15 FWL_HTIMER& hTimer, 15 FWL_HTIMER& hTimer,
16 FX_BOOL bImmediately) { 16 FX_BOOL bImmediately) {
17 if (!m_pEnv) 17 if (!m_pEnv)
18 return FWL_ERR_Indefinite; 18 return FWL_ERR_Indefinite;
19 19
(...skipping 18 matching lines...) Expand all
38 } 38 }
39 39
40 void CXFA_FWLAdapterTimerMgr::TimerProc(int32_t idEvent) { 40 void CXFA_FWLAdapterTimerMgr::TimerProc(int32_t idEvent) {
41 for (CFWL_TimerInfo* pInfo : s_TimerArray) { 41 for (CFWL_TimerInfo* pInfo : s_TimerArray) {
42 if (pInfo->uIDEvent == idEvent) { 42 if (pInfo->uIDEvent == idEvent) {
43 pInfo->pTimer->Run(reinterpret_cast<FWL_HTIMER>(pInfo)); 43 pInfo->pTimer->Run(reinterpret_cast<FWL_HTIMER>(pInfo));
44 break; 44 break;
45 } 45 }
46 } 46 }
47 } 47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698