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

Side by Side Diff: xfa/fwl/core/ifwl_combolist.h

Issue 2525083002: Rename IFWL classes which do not have CFWL equivalents (Closed)
Patch Set: Created 4 years 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_comboedit.cpp ('k') | xfa/fwl/core/ifwl_combolist.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 2014 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_FWL_CORE_IFWL_COMBOLIST_H_
8 #define XFA_FWL_CORE_IFWL_COMBOLIST_H_
9
10 #include <memory>
11
12 #include "xfa/fwl/core/cfwl_widgetproperties.h"
13 #include "xfa/fwl/core/ifwl_listbox.h"
14 #include "xfa/fwl/core/ifwl_widget.h"
15
16 class IFWL_ComboList : public IFWL_ListBox {
17 public:
18 IFWL_ComboList(const CFWL_App* app,
19 std::unique_ptr<CFWL_WidgetProperties> properties,
20 IFWL_Widget* pOuter);
21
22 // IFWL_ListBox.
23 void OnProcessMessage(CFWL_Message* pMessage) override;
24
25 int32_t MatchItem(const CFX_WideString& wsMatch);
26
27 void ChangeSelected(int32_t iSel);
28
29 void SetNotifyOwner(bool notify) { m_bNotifyOwner = notify; }
30
31 private:
32 void ClientToOuter(FX_FLOAT& fx, FX_FLOAT& fy);
33 void OnDropListFocusChanged(CFWL_Message* pMsg, bool bSet);
34 void OnDropListMouseMove(CFWL_MsgMouse* pMsg);
35 void OnDropListLButtonDown(CFWL_MsgMouse* pMsg);
36 void OnDropListLButtonUp(CFWL_MsgMouse* pMsg);
37 bool OnDropListKey(CFWL_MsgKey* pKey);
38 void OnDropListKeyDown(CFWL_MsgKey* pKey);
39
40 bool m_bNotifyOwner;
41 };
42
43 #endif // XFA_FWL_CORE_IFWL_COMBOLIST_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_comboedit.cpp ('k') | xfa/fwl/core/ifwl_combolist.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698