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

Side by Side Diff: fpdfsdk/include/pdfwindow/PWL_Edit.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_EDIT_H_ 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_
9 9
10 #include "PWL_EditCtrl.h" 10 #include "PWL_EditCtrl.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ~CPWL_Edit() override; 49 ~CPWL_Edit() override;
50 50
51 // CPWL_EditCtrl 51 // CPWL_EditCtrl
52 CFX_ByteString GetClassName() const override; 52 CFX_ByteString GetClassName() const override;
53 void OnDestroy() override; 53 void OnDestroy() override;
54 void OnCreated() override; 54 void OnCreated() override;
55 void RePosChildWnd() override; 55 void RePosChildWnd() override;
56 CPDF_Rect GetClientRect() const override; 56 CPDF_Rect GetClientRect() const override;
57 void GetThisAppearanceStream(CFX_ByteTextBuf& sAppStream) override; 57 void GetThisAppearanceStream(CFX_ByteTextBuf& sAppStream) override;
58 void DrawThisAppearance(CFX_RenderDevice* pDevice, 58 void DrawThisAppearance(CFX_RenderDevice* pDevice,
59 CPDF_Matrix* pUser2Device) override; 59 CFX_Matrix* pUser2Device) override;
60 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override; 60 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override;
61 FX_BOOL OnLButtonDblClk(const CPDF_Point& point, FX_DWORD nFlag) override; 61 FX_BOOL OnLButtonDblClk(const CPDF_Point& point, FX_DWORD nFlag) override;
62 FX_BOOL OnRButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override; 62 FX_BOOL OnRButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override;
63 FX_BOOL OnMouseWheel(short zDelta, 63 FX_BOOL OnMouseWheel(short zDelta,
64 const CPDF_Point& point, 64 const CPDF_Point& point,
65 FX_DWORD nFlag) override; 65 FX_DWORD nFlag) override;
66 FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag) override; 66 FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag) override;
67 FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag) override; 67 FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag) override;
68 CPDF_Rect GetFocusRect() const override; 68 CPDF_Rect GetFocusRect() const override;
69 void OnSetFocus() override; 69 void OnSetFocus() override;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 CPDF_Rect m_rcOldWindow; 163 CPDF_Rect m_rcOldWindow;
164 164
165 public: 165 public:
166 void AttachFFLData(void* pData) { m_pFormFiller = pData; } 166 void AttachFFLData(void* pData) { m_pFormFiller = pData; }
167 167
168 private: 168 private:
169 void* m_pFormFiller; 169 void* m_pFormFiller;
170 }; 170 };
171 171
172 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ 172 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698