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

Side by Side Diff: xfa/fwl/core/cfwl_timer.cpp

Issue 2521303002: Rename IFWL_App to CFWL_App (Closed)
Patch Set: Rebase to master Created 4 years 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/fwl/core/cfwl_pushbutton.cpp ('k') | xfa/fwl/core/cfwl_widget.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/fwl/core/cfwl_timer.h" 7 #include "xfa/fwl/core/cfwl_timer.h"
8 8
9 #include "xfa/fwl/core/cfwl_app.h"
9 #include "xfa/fwl/core/cfwl_timerinfo.h" 10 #include "xfa/fwl/core/cfwl_timerinfo.h"
10 #include "xfa/fwl/core/ifwl_adaptertimermgr.h" 11 #include "xfa/fwl/core/ifwl_adaptertimermgr.h"
11 #include "xfa/fwl/core/ifwl_app.h"
12 #include "xfa/fwl/core/ifwl_widget.h" 12 #include "xfa/fwl/core/ifwl_widget.h"
13 #include "xfa/fxfa/xfa_ffapp.h" 13 #include "xfa/fxfa/xfa_ffapp.h"
14 14
15 CFWL_TimerInfo* CFWL_Timer::StartTimer(uint32_t dwElapse, bool bImmediately) { 15 CFWL_TimerInfo* CFWL_Timer::StartTimer(uint32_t dwElapse, bool bImmediately) {
16 const IFWL_App* pApp = m_pWidget->GetOwnerApp(); 16 const CFWL_App* pApp = m_pWidget->GetOwnerApp();
17 if (!pApp) 17 if (!pApp)
18 return nullptr; 18 return nullptr;
19 19
20 CXFA_FFApp* pAdapterNative = pApp->GetAdapterNative(); 20 CXFA_FFApp* pAdapterNative = pApp->GetAdapterNative();
21 if (!pAdapterNative) 21 if (!pAdapterNative)
22 return nullptr; 22 return nullptr;
23 23
24 IFWL_AdapterTimerMgr* pAdapterTimerMgr = pAdapterNative->GetTimerMgr(); 24 IFWL_AdapterTimerMgr* pAdapterTimerMgr = pAdapterNative->GetTimerMgr();
25 if (!pAdapterTimerMgr) 25 if (!pAdapterTimerMgr)
26 return nullptr; 26 return nullptr;
27 27
28 CFWL_TimerInfo* pTimerInfo = nullptr; 28 CFWL_TimerInfo* pTimerInfo = nullptr;
29 pAdapterTimerMgr->Start(this, dwElapse, bImmediately, &pTimerInfo); 29 pAdapterTimerMgr->Start(this, dwElapse, bImmediately, &pTimerInfo);
30 return pTimerInfo; 30 return pTimerInfo;
31 } 31 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/cfwl_pushbutton.cpp ('k') | xfa/fwl/core/cfwl_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698