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

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

Issue 2383593002: Move xfa/fxfa/include to xfa/fxfa (Closed)
Patch Set: Rebase to master Created 4 years, 2 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/cfwl_widgetmgr.h" 10 #include "xfa/fwl/core/cfwl_widgetmgr.h"
11 #include "xfa/fwl/core/fwl_noteimp.h" 11 #include "xfa/fwl/core/fwl_noteimp.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/fxfa/include/xfa_ffapp.h" 15 #include "xfa/fxfa/xfa_ffapp.h"
16 #include "xfa/fxfa/include/xfa_ffdoc.h" 16 #include "xfa/fxfa/xfa_ffdoc.h"
17 #include "xfa/fxfa/include/xfa_ffdocview.h" 17 #include "xfa/fxfa/xfa_ffdocview.h"
18 #include "xfa/fxfa/include/xfa_ffpageview.h" 18 #include "xfa/fxfa/xfa_ffpageview.h"
19 #include "xfa/fxfa/include/xfa_ffwidget.h" 19 #include "xfa/fxfa/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(nullptr) { 23 : CXFA_FFField(pPageView, pDataAcc), m_pOldDelegate(nullptr) {
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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 default: 325 default:
326 break; 326 break;
327 } 327 }
328 m_pOldDelegate->OnProcessEvent(pEvent); 328 m_pOldDelegate->OnProcessEvent(pEvent);
329 } 329 }
330 330
331 void CXFA_FFCheckButton::OnDrawWidget(CFX_Graphics* pGraphics, 331 void CXFA_FFCheckButton::OnDrawWidget(CFX_Graphics* pGraphics,
332 const CFX_Matrix* pMatrix) { 332 const CFX_Matrix* pMatrix) {
333 m_pOldDelegate->OnDrawWidget(pGraphics, pMatrix); 333 m_pOldDelegate->OnDrawWidget(pGraphics, pMatrix);
334 } 334 }
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