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

Side by Side Diff: xfa/fwl/core/ifwl_formproxy.cpp

Issue 2466273003: Change IFWL_Widget to store a single delegate. (Closed)
Patch Set: Fix Mac Created 4 years, 1 month 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/core/ifwl_form.cpp ('k') | xfa/fwl/core/ifwl_listbox.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 "xfa/fwl/core/ifwl_formproxy.h" 7 #include "xfa/fwl/core/ifwl_formproxy.h"
8 8
9 #include "third_party/base/ptr_util.h" 9 #include "third_party/base/ptr_util.h"
10 #include "xfa/fwl/core/fwl_noteimp.h" 10 #include "xfa/fwl/core/fwl_noteimp.h"
(...skipping 24 matching lines...) Expand all
35 35
36 FWL_Error IFWL_FormProxy::DrawWidget(CFX_Graphics* pGraphics, 36 FWL_Error IFWL_FormProxy::DrawWidget(CFX_Graphics* pGraphics,
37 const CFX_Matrix* pMatrix) { 37 const CFX_Matrix* pMatrix) {
38 return FWL_Error::Succeeded; 38 return FWL_Error::Succeeded;
39 } 39 }
40 40
41 CFWL_FormProxyImpDelegate::CFWL_FormProxyImpDelegate(IFWL_FormProxy* pOwner) 41 CFWL_FormProxyImpDelegate::CFWL_FormProxyImpDelegate(IFWL_FormProxy* pOwner)
42 : m_pOwner(pOwner) {} 42 : m_pOwner(pOwner) {}
43 43
44 void CFWL_FormProxyImpDelegate::OnProcessMessage(CFWL_Message* pMessage) { 44 void CFWL_FormProxyImpDelegate::OnProcessMessage(CFWL_Message* pMessage) {
45 m_pOwner->m_pOuter->GetCurrentDelegate()->OnProcessMessage(pMessage); 45 m_pOwner->m_pOuter->GetDelegate()->OnProcessMessage(pMessage);
46 } 46 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_form.cpp ('k') | xfa/fwl/core/ifwl_listbox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698