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

Side by Side Diff: fpdfsdk/pdfwindow/PWL_EditCtrl.h

Issue 1835693002: Remove FX_DWORD from fpdfsdk/ and testing/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months 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 | « fpdfsdk/pdfwindow/PWL_Edit.cpp ('k') | fpdfsdk/pdfwindow/PWL_EditCtrl.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 #ifndef FPDFSDK_PDFWINDOW_PWL_EDITCTRL_H_ 7 #ifndef FPDFSDK_PDFWINDOW_PWL_EDITCTRL_H_
8 #define FPDFSDK_PDFWINDOW_PWL_EDITCTRL_H_ 8 #define FPDFSDK_PDFWINDOW_PWL_EDITCTRL_H_
9 9
10 #include "core/fxcrt/include/fx_string.h" 10 #include "core/fxcrt/include/fx_string.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 FX_BOOL CanUndo() const; 96 FX_BOOL CanUndo() const;
97 FX_BOOL CanRedo() const; 97 FX_BOOL CanRedo() const;
98 void Redo(); 98 void Redo();
99 void Undo(); 99 void Undo();
100 100
101 void SetReadyToInput(); 101 void SetReadyToInput();
102 102
103 // CPWL_Wnd 103 // CPWL_Wnd
104 void OnCreate(PWL_CREATEPARAM& cp) override; 104 void OnCreate(PWL_CREATEPARAM& cp) override;
105 void OnCreated() override; 105 void OnCreated() override;
106 FX_BOOL OnKeyDown(uint16_t nChar, FX_DWORD nFlag) override; 106 FX_BOOL OnKeyDown(uint16_t nChar, uint32_t nFlag) override;
107 FX_BOOL OnChar(uint16_t nChar, FX_DWORD nFlag) override; 107 FX_BOOL OnChar(uint16_t nChar, uint32_t nFlag) override;
108 FX_BOOL OnLButtonDown(const CFX_FloatPoint& point, FX_DWORD nFlag) override; 108 FX_BOOL OnLButtonDown(const CFX_FloatPoint& point, uint32_t nFlag) override;
109 FX_BOOL OnLButtonUp(const CFX_FloatPoint& point, FX_DWORD nFlag) override; 109 FX_BOOL OnLButtonUp(const CFX_FloatPoint& point, uint32_t nFlag) override;
110 FX_BOOL OnMouseMove(const CFX_FloatPoint& point, FX_DWORD nFlag) override; 110 FX_BOOL OnMouseMove(const CFX_FloatPoint& point, uint32_t nFlag) override;
111 void OnNotify(CPWL_Wnd* pWnd, 111 void OnNotify(CPWL_Wnd* pWnd,
112 FX_DWORD msg, 112 uint32_t msg,
113 intptr_t wParam = 0, 113 intptr_t wParam = 0,
114 intptr_t lParam = 0) override; 114 intptr_t lParam = 0) override;
115 void CreateChildWnd(const PWL_CREATEPARAM& cp) override; 115 void CreateChildWnd(const PWL_CREATEPARAM& cp) override;
116 void RePosChildWnd() override; 116 void RePosChildWnd() override;
117 void SetFontSize(FX_FLOAT fFontSize) override; 117 void SetFontSize(FX_FLOAT fFontSize) override;
118 FX_FLOAT GetFontSize() const override; 118 FX_FLOAT GetFontSize() const override;
119 void SetCursor() override; 119 void SetCursor() override;
120 120
121 protected: 121 protected:
122 // IFX_Edit_Notify 122 // IFX_Edit_Notify
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 CPWL_Caret* m_pEditCaret; 172 CPWL_Caret* m_pEditCaret;
173 FX_BOOL m_bMouseDown; 173 FX_BOOL m_bMouseDown;
174 IPWL_Edit_Notify* m_pEditNotify; 174 IPWL_Edit_Notify* m_pEditNotify;
175 175
176 private: 176 private:
177 int32_t m_nCharSet; 177 int32_t m_nCharSet;
178 int32_t m_nCodePage; 178 int32_t m_nCodePage;
179 }; 179 };
180 180
181 #endif // FPDFSDK_PDFWINDOW_PWL_EDITCTRL_H_ 181 #endif // FPDFSDK_PDFWINDOW_PWL_EDITCTRL_H_
OLDNEW
« no previous file with comments | « fpdfsdk/pdfwindow/PWL_Edit.cpp ('k') | fpdfsdk/pdfwindow/PWL_EditCtrl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698