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

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

Issue 1943413002: Convert FWL_ERR into an enum class. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@bcdattribute
Patch Set: Created 4 years, 7 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/fxfa/app/xfa_ffimageedit.h ('k') | xfa/fxfa/app/xfa_ffpushbutton.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/fxfa/app/xfa_ffimageedit.h" 7 #include "xfa/fxfa/app/xfa_ffimageedit.h"
8 8
9 #include "xfa/fwl/core/cfwl_message.h" 9 #include "xfa/fwl/core/cfwl_message.h"
10 #include "xfa/fwl/core/fwl_noteimp.h" 10 #include "xfa/fwl/core/fwl_noteimp.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 m_pNormalWidget->SetWidgetRect(rtImage); 116 m_pNormalWidget->SetWidgetRect(rtImage);
117 } 117 }
118 FX_BOOL CXFA_FFImageEdit::CommitData() { 118 FX_BOOL CXFA_FFImageEdit::CommitData() {
119 return TRUE; 119 return TRUE;
120 } 120 }
121 FX_BOOL CXFA_FFImageEdit::UpdateFWLData() { 121 FX_BOOL CXFA_FFImageEdit::UpdateFWLData() {
122 m_pDataAcc->SetImageEditImage(NULL); 122 m_pDataAcc->SetImageEditImage(NULL);
123 m_pDataAcc->LoadImageEditImage(); 123 m_pDataAcc->LoadImageEditImage();
124 return TRUE; 124 return TRUE;
125 } 125 }
126 int32_t CXFA_FFImageEdit::OnProcessMessage(CFWL_Message* pMessage) { 126
127 return m_pOldDelegate->OnProcessMessage(pMessage); 127 void CXFA_FFImageEdit::OnProcessMessage(CFWL_Message* pMessage) {
128 m_pOldDelegate->OnProcessMessage(pMessage);
128 } 129 }
129 FWL_ERR CXFA_FFImageEdit::OnProcessEvent(CFWL_Event* pEvent) { 130
131 void CXFA_FFImageEdit::OnProcessEvent(CFWL_Event* pEvent) {
130 CXFA_FFField::OnProcessEvent(pEvent); 132 CXFA_FFField::OnProcessEvent(pEvent);
131 return m_pOldDelegate->OnProcessEvent(pEvent); 133 m_pOldDelegate->OnProcessEvent(pEvent);
132 } 134 }
133 FWL_ERR CXFA_FFImageEdit::OnDrawWidget(CFX_Graphics* pGraphics, 135
134 const CFX_Matrix* pMatrix) { 136 void CXFA_FFImageEdit::OnDrawWidget(CFX_Graphics* pGraphics,
135 return m_pOldDelegate->OnDrawWidget(pGraphics, pMatrix); 137 const CFX_Matrix* pMatrix) {
138 m_pOldDelegate->OnDrawWidget(pGraphics, pMatrix);
136 } 139 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffimageedit.h ('k') | xfa/fxfa/app/xfa_ffpushbutton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698