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

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

Issue 2333413003: Rename CPDFDoc_Environment to CPDFSDK_Environment (Closed)
Patch Set: Review feedback Created 4 years, 3 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_radiobutton.h ('k') | fpdfsdk/formfiller/cffl_textfield.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 "fpdfsdk/formfiller/cffl_radiobutton.h" 7 #include "fpdfsdk/formfiller/cffl_radiobutton.h"
8 8
9 #include "fpdfsdk/formfiller/cffl_formfiller.h" 9 #include "fpdfsdk/formfiller/cffl_formfiller.h"
10 #include "fpdfsdk/include/cpdfdoc_environment.h" 10 #include "fpdfsdk/include/cpdfsdk_environment.h"
11 #include "fpdfsdk/include/cpdfsdk_widget.h" 11 #include "fpdfsdk/include/cpdfsdk_widget.h"
12 #include "fpdfsdk/pdfwindow/PWL_SpecialButton.h" 12 #include "fpdfsdk/pdfwindow/PWL_SpecialButton.h"
13 #include "public/fpdf_fwlevent.h" 13 #include "public/fpdf_fwlevent.h"
14 14
15 CFFL_RadioButton::CFFL_RadioButton(CPDFDoc_Environment* pApp, 15 CFFL_RadioButton::CFFL_RadioButton(CPDFSDK_Environment* pApp,
16 CPDFSDK_Annot* pWidget) 16 CPDFSDK_Annot* pWidget)
17 : CFFL_Button(pApp, pWidget) {} 17 : CFFL_Button(pApp, pWidget) {}
18 18
19 CFFL_RadioButton::~CFFL_RadioButton() {} 19 CFFL_RadioButton::~CFFL_RadioButton() {}
20 20
21 CPWL_Wnd* CFFL_RadioButton::NewPDFWindow(const PWL_CREATEPARAM& cp, 21 CPWL_Wnd* CFFL_RadioButton::NewPDFWindow(const PWL_CREATEPARAM& cp,
22 CPDFSDK_PageView* pPageView) { 22 CPDFSDK_PageView* pPageView) {
23 CPWL_RadioButton* pWnd = new CPWL_RadioButton(); 23 CPWL_RadioButton* pWnd = new CPWL_RadioButton();
24 pWnd->Create(cp); 24 pWnd->Create(cp);
25 25
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 114 }
115 } 115 }
116 } 116 }
117 } 117 }
118 118
119 m_pWidget->SetCheck(bNewChecked, false); 119 m_pWidget->SetCheck(bNewChecked, false);
120 m_pWidget->UpdateField(); 120 m_pWidget->UpdateField();
121 SetChangeMark(); 121 SetChangeMark();
122 } 122 }
123 } 123 }
OLDNEW
« no previous file with comments | « fpdfsdk/formfiller/cffl_radiobutton.h ('k') | fpdfsdk/formfiller/cffl_textfield.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698