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

Side by Side Diff: fpdfsdk/include/pdfwindow/PWL_ListBox.h

Issue 1519693002: Merge to XFA: Remove CFX_AffineMatrix/CPDF_Matrix (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: XFA-specific changes Created 5 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
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 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_ 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_ 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_
9 9
10 #include "PWL_Wnd.h" 10 #include "PWL_Wnd.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 public: 52 public:
53 CPWL_ListBox(); 53 CPWL_ListBox();
54 ~CPWL_ListBox() override; 54 ~CPWL_ListBox() override;
55 55
56 // CPWL_Wnd 56 // CPWL_Wnd
57 CFX_ByteString GetClassName() const override; 57 CFX_ByteString GetClassName() const override;
58 void OnCreated() override; 58 void OnCreated() override;
59 void OnDestroy() override; 59 void OnDestroy() override;
60 void GetThisAppearanceStream(CFX_ByteTextBuf& sAppStream) override; 60 void GetThisAppearanceStream(CFX_ByteTextBuf& sAppStream) override;
61 void DrawThisAppearance(CFX_RenderDevice* pDevice, 61 void DrawThisAppearance(CFX_RenderDevice* pDevice,
62 CPDF_Matrix* pUser2Device) override; 62 CFX_Matrix* pUser2Device) override;
63 FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag) override; 63 FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag) override;
64 FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag) override; 64 FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag) override;
65 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override; 65 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override;
66 FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override; 66 FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override;
67 FX_BOOL OnMouseMove(const CPDF_Point& point, FX_DWORD nFlag) override; 67 FX_BOOL OnMouseMove(const CPDF_Point& point, FX_DWORD nFlag) override;
68 FX_BOOL OnMouseWheel(short zDelta, 68 FX_BOOL OnMouseWheel(short zDelta,
69 const CPDF_Point& point, 69 const CPDF_Point& point,
70 FX_DWORD nFlag) override; 70 FX_DWORD nFlag) override;
71 void KillFocus() override; 71 void KillFocus() override;
72 void OnNotify(CPWL_Wnd* pWnd, 72 void OnNotify(CPWL_Wnd* pWnd,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 IPWL_Filler_Notify* m_pFillerNotify; 114 IPWL_Filler_Notify* m_pFillerNotify;
115 115
116 public: 116 public:
117 void AttachFFLData(void* pData) { m_pFormFiller = pData; } 117 void AttachFFLData(void* pData) { m_pFormFiller = pData; }
118 118
119 private: 119 private:
120 void* m_pFormFiller; 120 void* m_pFormFiller;
121 }; 121 };
122 122
123 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_ 123 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698