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

Side by Side Diff: fpdfsdk/formfiller/cffl_pushbutton.cpp

Issue 1823153002: Move the fpdfsdk/include/pdfwindow/ headers into fpdfsdk/pdfwindow. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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/formfiller/cffl_listbox.cpp ('k') | fpdfsdk/formfiller/cffl_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 "fpdfsdk/formfiller/cffl_pushbutton.h" 7 #include "fpdfsdk/formfiller/cffl_pushbutton.h"
8 8
9 #include "fpdfsdk/formfiller/cffl_formfiller.h" 9 #include "fpdfsdk/formfiller/cffl_formfiller.h"
10 #include "fpdfsdk/include/pdfwindow/PWL_SpecialButton.h" 10 #include "fpdfsdk/pdfwindow/PWL_SpecialButton.h"
11 11
12 CFFL_PushButton::CFFL_PushButton(CPDFDoc_Environment* pApp, 12 CFFL_PushButton::CFFL_PushButton(CPDFDoc_Environment* pApp,
13 CPDFSDK_Annot* pAnnot) 13 CPDFSDK_Annot* pAnnot)
14 : CFFL_Button(pApp, pAnnot) {} 14 : CFFL_Button(pApp, pAnnot) {}
15 15
16 CFFL_PushButton::~CFFL_PushButton() {} 16 CFFL_PushButton::~CFFL_PushButton() {}
17 17
18 CPWL_Wnd* CFFL_PushButton::NewPDFWindow(const PWL_CREATEPARAM& cp, 18 CPWL_Wnd* CFFL_PushButton::NewPDFWindow(const PWL_CREATEPARAM& cp,
19 CPDFSDK_PageView* pPageView) { 19 CPDFSDK_PageView* pPageView) {
20 CPWL_PushButton* pWnd = new CPWL_PushButton(); 20 CPWL_PushButton* pWnd = new CPWL_PushButton();
21 pWnd->Create(cp); 21 pWnd->Create(cp);
22 22
23 return pWnd; 23 return pWnd;
24 } 24 }
25 25
26 FX_BOOL CFFL_PushButton::OnChar(CPDFSDK_Annot* pAnnot, 26 FX_BOOL CFFL_PushButton::OnChar(CPDFSDK_Annot* pAnnot,
27 FX_UINT nChar, 27 FX_UINT nChar,
28 FX_UINT nFlags) { 28 FX_UINT nFlags) {
29 return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags); 29 return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags);
30 } 30 }
31 31
32 void CFFL_PushButton::OnDraw(CPDFSDK_PageView* pPageView, 32 void CFFL_PushButton::OnDraw(CPDFSDK_PageView* pPageView,
33 CPDFSDK_Annot* pAnnot, 33 CPDFSDK_Annot* pAnnot,
34 CFX_RenderDevice* pDevice, 34 CFX_RenderDevice* pDevice,
35 CFX_Matrix* pUser2Device, 35 CFX_Matrix* pUser2Device,
36 FX_DWORD dwFlags) { 36 FX_DWORD dwFlags) {
37 CFFL_Button::OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags); 37 CFFL_Button::OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags);
38 } 38 }
OLDNEW
« no previous file with comments | « fpdfsdk/formfiller/cffl_listbox.cpp ('k') | fpdfsdk/formfiller/cffl_radiobutton.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698