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

Side by Side Diff: xfa/fxfa/app/cxfa_fflistboxdelegate.h

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/fxfa/app/cxfa_ffimageeditdelegate.cpp ('k') | xfa/fxfa/app/cxfa_fflistboxdelegate.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef XFA_FXFA_APP_CXFA_FFLISTBOXDELEGATE_H_
8 #define XFA_FXFA_APP_CXFA_FFLISTBOXDELEGATE_H_
9
10 #include "core/fxcrt/fx_coordinates.h"
11 #include "xfa/fwl/core/cfwl_event.h"
12 #include "xfa/fwl/core/cfwl_message.h"
13 #include "xfa/fxfa/app/cxfa_fffielddelegate.h"
14 #include "xfa/fxfa/app/xfa_ffchoicelist.h"
15 #include "xfa/fxfa/xfa_ffwidget.h"
16 #include "xfa/fxgraphics/cfx_graphics.h"
17
18 class CXFA_FFListBoxDelegate : public CXFA_FFFieldDelegate {
19 public:
20 CXFA_FFListBoxDelegate(std::unique_ptr<IFWL_WidgetDelegate> pDelegate,
21 CXFA_FFListBox* const pWidget);
22 ~CXFA_FFListBoxDelegate() override;
23
24 // CXFA_FFFieldDelegate.
25 void OnProcessMessage(CFWL_Message* pMessage) override;
26 void OnProcessEvent(CFWL_Event* pEvent) override;
27 void OnDrawWidget(CFX_Graphics* pGraphics,
28 const CFX_Matrix* pMatrix) override;
29 };
30
31 #endif // XFA_FXFA_APP_CXFA_FFLISTBOXDELEGATE_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/cxfa_ffimageeditdelegate.cpp ('k') | xfa/fxfa/app/cxfa_fflistboxdelegate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698