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

Side by Side Diff: fpdfsdk/src/formfiller/FFL_PushButton.cpp

Issue 1252613002: FX_BOOL considered harmful. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual edits. Created 5 years, 5 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 | « fpdfsdk/src/formfiller/FFL_Notify.cpp ('k') | fpdfsdk/src/formfiller/FFL_RadioButton.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 "../../include/formfiller/FormFiller.h" 7 #include "../../include/formfiller/FormFiller.h"
8 #include "../../include/formfiller/FFL_FormFiller.h" 8 #include "../../include/formfiller/FFL_FormFiller.h"
9 #include "../../include/formfiller/FFL_PushButton.h" 9 #include "../../include/formfiller/FFL_PushButton.h"
10 10
(...skipping 10 matching lines...) Expand all
21 21
22 CPWL_Wnd* CFFL_PushButton::NewPDFWindow(const PWL_CREATEPARAM& cp, CPDFSDK_PageV iew* pPageView) 22 CPWL_Wnd* CFFL_PushButton::NewPDFWindow(const PWL_CREATEPARAM& cp, CPDFSDK_PageV iew* pPageView)
23 { 23 {
24 CPWL_PushButton* pWnd = new CPWL_PushButton(); 24 CPWL_PushButton* pWnd = new CPWL_PushButton();
25 pWnd->Create(cp); 25 pWnd->Create(cp);
26 26
27 return pWnd; 27 return pWnd;
28 } 28 }
29 29
30 30
31 FX_BOOL»CFFL_PushButton::OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nF lags) 31 bool» CFFL_PushButton::OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nF lags)
32 { 32 {
33 return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags); 33 return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags);
34 } 34 }
35 35
36 void CFFL_PushButton::OnDraw(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot , 36 void CFFL_PushButton::OnDraw(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot ,
37 CFX_RenderDevice* pDevi ce, CPDF_Matrix* pUser2Device, 37 CFX_RenderDevice* pDevi ce, CPDF_Matrix* pUser2Device,
38 FX_DWORD dwFlags) 38 FX_DWORD dwFlags)
39 { 39 {
40 CFFL_Button::OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags); 40 CFFL_Button::OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags);
41 } 41 }
42 42
43 43
OLDNEW
« no previous file with comments | « fpdfsdk/src/formfiller/FFL_Notify.cpp ('k') | fpdfsdk/src/formfiller/FFL_RadioButton.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698