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

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

Issue 1830323006: Remove FX_DWORD from XFA. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « xfa/fwl/core/fwl_formimp.cpp ('k') | xfa/fwl/core/fwl_noteimp.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/fwl/core/fwl_gridimp.h" 7 #include "xfa/fwl/core/fwl_gridimp.h"
8 8
9 #include "xfa/fwl/core/cfwl_message.h" 9 #include "xfa/fwl/core/cfwl_message.h"
10 #include "xfa/fwl/core/cfwl_widgetimpproperties.h" 10 #include "xfa/fwl/core/cfwl_widgetimpproperties.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 delete pInfo; 161 delete pInfo;
162 } 162 }
163 m_mapWidgetInfo.RemoveAll(); 163 m_mapWidgetInfo.RemoveAll();
164 delete m_pDelegate; 164 delete m_pDelegate;
165 m_pDelegate = nullptr; 165 m_pDelegate = nullptr;
166 } 166 }
167 FWL_ERR CFWL_GridImp::GetClassName(CFX_WideString& wsClass) const { 167 FWL_ERR CFWL_GridImp::GetClassName(CFX_WideString& wsClass) const {
168 wsClass = FWL_CLASS_Grid; 168 wsClass = FWL_CLASS_Grid;
169 return FWL_ERR_Succeeded; 169 return FWL_ERR_Succeeded;
170 } 170 }
171 FX_DWORD CFWL_GridImp::GetClassID() const { 171 uint32_t CFWL_GridImp::GetClassID() const {
172 return FWL_CLASSHASH_Grid; 172 return FWL_CLASSHASH_Grid;
173 } 173 }
174 FWL_ERR CFWL_GridImp::Initialize() { 174 FWL_ERR CFWL_GridImp::Initialize() {
175 if (CFWL_ContentImp::Initialize() != FWL_ERR_Succeeded) 175 if (CFWL_ContentImp::Initialize() != FWL_ERR_Succeeded)
176 return FWL_ERR_Indefinite; 176 return FWL_ERR_Indefinite;
177 m_pDelegate = new CFWL_GridImpDelegate(this); 177 m_pDelegate = new CFWL_GridImpDelegate(this);
178 return FWL_ERR_Succeeded; 178 return FWL_ERR_Succeeded;
179 } 179 }
180 FWL_ERR CFWL_GridImp::Finalize() { 180 FWL_ERR CFWL_GridImp::Finalize() {
181 if (CFWL_ContentImp::Finalize() != FWL_ERR_Succeeded) 181 if (CFWL_ContentImp::Finalize() != FWL_ERR_Succeeded)
(...skipping 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after
1373 CFWL_MsgMouse* pMsg = static_cast<CFWL_MsgMouse*>(pMessage); 1373 CFWL_MsgMouse* pMsg = static_cast<CFWL_MsgMouse*>(pMessage);
1374 if (pMsg->m_dwCmd != FWL_MSGMOUSECMD_LButtonDown) { 1374 if (pMsg->m_dwCmd != FWL_MSGMOUSECMD_LButtonDown) {
1375 return 0; 1375 return 0;
1376 } 1376 }
1377 return 1; 1377 return 1;
1378 } 1378 }
1379 FWL_ERR CFWL_GridImpDelegate::OnDrawWidget(CFX_Graphics* pGraphics, 1379 FWL_ERR CFWL_GridImpDelegate::OnDrawWidget(CFX_Graphics* pGraphics,
1380 const CFX_Matrix* pMatrix) { 1380 const CFX_Matrix* pMatrix) {
1381 return m_pOwner->DrawWidget(pGraphics, pMatrix); 1381 return m_pOwner->DrawWidget(pGraphics, pMatrix);
1382 } 1382 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/fwl_formimp.cpp ('k') | xfa/fwl/core/fwl_noteimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698