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

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

Issue 1864973005: Move remaining xfa/include/fxfa files (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master 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/fxfa/app/xfa_ffcheckbutton.h ('k') | xfa/fxfa/app/xfa_ffchoicelist.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_ffcheckbutton.h" 7 #include "xfa/fxfa/app/xfa_ffcheckbutton.h"
8 8
9 #include "xfa/fwl/core/cfwl_message.h" 9 #include "xfa/fwl/core/cfwl_message.h"
10 #include "xfa/fwl/core/ifwl_notedriver.h" 10 #include "xfa/fwl/core/ifwl_notedriver.h"
11 #include "xfa/fwl/core/ifwl_widgetmgrdelegate.h" 11 #include "xfa/fwl/core/ifwl_widgetmgrdelegate.h"
12 #include "xfa/fwl/lightwidget/cfwl_checkbox.h" 12 #include "xfa/fwl/lightwidget/cfwl_checkbox.h"
13 #include "xfa/fxfa/app/xfa_ffexclgroup.h" 13 #include "xfa/fxfa/app/xfa_ffexclgroup.h"
14 #include "xfa/fxfa/app/xfa_fffield.h" 14 #include "xfa/fxfa/app/xfa_fffield.h"
15 #include "xfa/include/fxfa/xfa_ffapp.h" 15 #include "xfa/fxfa/include/xfa_ffapp.h"
16 #include "xfa/include/fxfa/xfa_ffdoc.h" 16 #include "xfa/fxfa/include/xfa_ffdoc.h"
17 #include "xfa/include/fxfa/xfa_ffdocview.h" 17 #include "xfa/fxfa/include/xfa_ffdocview.h"
18 #include "xfa/include/fxfa/xfa_ffpageview.h" 18 #include "xfa/fxfa/include/xfa_ffpageview.h"
19 #include "xfa/include/fxfa/xfa_ffwidget.h" 19 #include "xfa/fxfa/include/xfa_ffwidget.h"
20 20
21 CXFA_FFCheckButton::CXFA_FFCheckButton(CXFA_FFPageView* pPageView, 21 CXFA_FFCheckButton::CXFA_FFCheckButton(CXFA_FFPageView* pPageView,
22 CXFA_WidgetAcc* pDataAcc) 22 CXFA_WidgetAcc* pDataAcc)
23 : CXFA_FFField(pPageView, pDataAcc), m_pOldDelegate(NULL) { 23 : CXFA_FFField(pPageView, pDataAcc), m_pOldDelegate(NULL) {
24 m_rtCheckBox.Set(0, 0, 0, 0); 24 m_rtCheckBox.Set(0, 0, 0, 0);
25 } 25 }
26 CXFA_FFCheckButton::~CXFA_FFCheckButton() {} 26 CXFA_FFCheckButton::~CXFA_FFCheckButton() {}
27 FX_BOOL CXFA_FFCheckButton::LoadWidget() { 27 FX_BOOL CXFA_FFCheckButton::LoadWidget() {
28 CFWL_CheckBox* pCheckBox = CFWL_CheckBox::Create(); 28 CFWL_CheckBox* pCheckBox = CFWL_CheckBox::Create();
29 pCheckBox->Initialize(); 29 pCheckBox->Initialize();
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 break; 328 break;
329 } 329 }
330 default: {} 330 default: {}
331 } 331 }
332 return m_pOldDelegate->OnProcessEvent(pEvent); 332 return m_pOldDelegate->OnProcessEvent(pEvent);
333 } 333 }
334 FWL_ERR CXFA_FFCheckButton::OnDrawWidget(CFX_Graphics* pGraphics, 334 FWL_ERR CXFA_FFCheckButton::OnDrawWidget(CFX_Graphics* pGraphics,
335 const CFX_Matrix* pMatrix) { 335 const CFX_Matrix* pMatrix) {
336 return m_pOldDelegate->OnDrawWidget(pGraphics, pMatrix); 336 return m_pOldDelegate->OnDrawWidget(pGraphics, pMatrix);
337 } 337 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffcheckbutton.h ('k') | xfa/fxfa/app/xfa_ffchoicelist.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698