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

Side by Side Diff: xfa/fwl/basewidget/fwl_pushbuttonimp.cpp

Issue 1803723002: Move xfa/src up to xfa/. (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 | « xfa/fwl/basewidget/fwl_pushbuttonimp.h ('k') | xfa/fwl/basewidget/fwl_scrollbarimp.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/src/fwl/basewidget/fwl_pushbuttonimp.h" 7 #include "xfa/fwl/basewidget/fwl_pushbuttonimp.h"
8 8
9 #include "xfa/fde/tto/fde_textout.h"
10 #include "xfa/fwl/core/fwl_noteimp.h"
11 #include "xfa/fwl/core/fwl_targetimp.h"
12 #include "xfa/fwl/core/fwl_widgetimp.h"
9 #include "xfa/include/fwl/basewidget/fwl_pushbutton.h" 13 #include "xfa/include/fwl/basewidget/fwl_pushbutton.h"
10 #include "xfa/src/fde/tto/fde_textout.h"
11 #include "xfa/src/fwl/core/fwl_noteimp.h"
12 #include "xfa/src/fwl/core/fwl_targetimp.h"
13 #include "xfa/src/fwl/core/fwl_widgetimp.h"
14 14
15 // static 15 // static
16 IFWL_PushButton* IFWL_PushButton::Create( 16 IFWL_PushButton* IFWL_PushButton::Create(
17 const CFWL_WidgetImpProperties& properties, 17 const CFWL_WidgetImpProperties& properties,
18 IFWL_Widget* pOuter) { 18 IFWL_Widget* pOuter) {
19 IFWL_PushButton* pPushButton = new IFWL_PushButton; 19 IFWL_PushButton* pPushButton = new IFWL_PushButton;
20 CFWL_PushButtonImp* pPushButtonImpl = 20 CFWL_PushButtonImp* pPushButtonImpl =
21 new CFWL_PushButtonImp(properties, pOuter); 21 new CFWL_PushButtonImp(properties, pOuter);
22 pPushButton->SetImpl(pPushButtonImpl); 22 pPushButton->SetImpl(pPushButtonImpl);
23 pPushButtonImpl->SetInterface(pPushButton); 23 pPushButtonImpl->SetInterface(pPushButton);
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 CFWL_EvtClick wmClick; 541 CFWL_EvtClick wmClick;
542 wmClick.m_pSrcTarget = m_pOwner->m_pInterface; 542 wmClick.m_pSrcTarget = m_pOwner->m_pInterface;
543 m_pOwner->DispatchEvent(&wmClick); 543 m_pOwner->DispatchEvent(&wmClick);
544 return; 544 return;
545 } 545 }
546 if (pMsg->m_dwKeyCode != FWL_VKEY_Tab) { 546 if (pMsg->m_dwKeyCode != FWL_VKEY_Tab) {
547 return; 547 return;
548 } 548 }
549 m_pOwner->DispatchKeyEvent(pMsg); 549 m_pOwner->DispatchKeyEvent(pMsg);
550 } 550 }
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fwl_pushbuttonimp.h ('k') | xfa/fwl/basewidget/fwl_scrollbarimp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698