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

Side by Side Diff: xfa/fxfa/app/xfa_ffapp.cpp

Issue 2510823003: Move the message definitions to their own files. (Closed)
Patch Set: Review feedback Created 4 years, 1 month 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/ifwl_widget.cpp ('k') | xfa/fxfa/app/xfa_ffcheckbutton.cpp » ('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/fxfa/xfa_ffapp.h" 7 #include "xfa/fxfa/xfa_ffapp.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <utility> 10 #include <utility>
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 CXFA_FWLTheme* CXFA_FFApp::GetFWLTheme() { 127 CXFA_FWLTheme* CXFA_FFApp::GetFWLTheme() {
128 if (!m_pFWLTheme) 128 if (!m_pFWLTheme)
129 m_pFWLTheme.reset(new CXFA_FWLTheme(this)); 129 m_pFWLTheme.reset(new CXFA_FWLTheme(this));
130 return m_pFWLTheme.get(); 130 return m_pFWLTheme.get();
131 } 131 }
132 132
133 CXFA_FWLAdapterWidgetMgr* CXFA_FFApp::GetWidgetMgr( 133 CXFA_FWLAdapterWidgetMgr* CXFA_FFApp::GetWidgetMgr(
134 IFWL_WidgetMgrDelegate* pDelegate) { 134 IFWL_WidgetMgrDelegate* pDelegate) {
135 if (!m_pAdapterWidgetMgr) { 135 if (!m_pAdapterWidgetMgr) {
136 m_pAdapterWidgetMgr.reset(new CXFA_FWLAdapterWidgetMgr); 136 m_pAdapterWidgetMgr.reset(new CXFA_FWLAdapterWidgetMgr);
137 pDelegate->OnSetCapability(FWL_WGTMGR_DisableThread | 137 pDelegate->OnSetCapability(FWL_WGTMGR_DisableForm);
138 FWL_WGTMGR_DisableForm);
139 m_pWidgetMgrDelegate = pDelegate; 138 m_pWidgetMgrDelegate = pDelegate;
140 } 139 }
141 return m_pAdapterWidgetMgr.get(); 140 return m_pAdapterWidgetMgr.get();
142 } 141 }
143 142
144 IFWL_AdapterTimerMgr* CXFA_FFApp::GetTimerMgr() const { 143 IFWL_AdapterTimerMgr* CXFA_FFApp::GetTimerMgr() const {
145 return m_pProvider->GetTimerMgr(); 144 return m_pProvider->GetTimerMgr();
146 } 145 }
147 146
148 void CXFA_FFApp::ClearEventTargets() { 147 void CXFA_FFApp::ClearEventTargets() {
149 m_pFWLApp->GetNoteDriver()->ClearEventTargets(false); 148 m_pFWLApp->GetNoteDriver()->ClearEventTargets(false);
150 } 149 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_widget.cpp ('k') | xfa/fxfa/app/xfa_ffcheckbutton.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698