| OLD | NEW |
| 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_WND_H_ | 7 #ifndef FPDFSDK_PDFWINDOW_PWL_WND_H_ |
| 8 #define FPDFSDK_PDFWINDOW_PWL_WND_H_ | 8 #define FPDFSDK_PDFWINDOW_PWL_WND_H_ |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 5 L"&Delete" | 175 5 L"&Delete" |
| 176 6 L"&Select All\tCtrl+A" | 176 6 L"&Select All\tCtrl+A" |
| 177 */ | 177 */ |
| 178 virtual CFX_WideString LoadPopupMenuString(int32_t nIndex) = 0; | 178 virtual CFX_WideString LoadPopupMenuString(int32_t nIndex) = 0; |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 class IPWL_FocusHandler { | 181 class IPWL_FocusHandler { |
| 182 public: | 182 public: |
| 183 virtual ~IPWL_FocusHandler() {} | 183 virtual ~IPWL_FocusHandler() {} |
| 184 virtual void OnSetFocus(CPWL_Wnd* pWnd) = 0; | 184 virtual void OnSetFocus(CPWL_Wnd* pWnd) = 0; |
| 185 virtual void OnKillFocus(CPWL_Wnd* pWnd) = 0; | |
| 186 }; | 185 }; |
| 187 | 186 |
| 188 struct PWL_CREATEPARAM { | 187 struct PWL_CREATEPARAM { |
| 189 public: | 188 public: |
| 190 PWL_CREATEPARAM(); | 189 PWL_CREATEPARAM(); |
| 191 PWL_CREATEPARAM(const PWL_CREATEPARAM& other); | 190 PWL_CREATEPARAM(const PWL_CREATEPARAM& other); |
| 192 | 191 |
| 193 CFX_FloatRect rcRectWnd; // required | 192 CFX_FloatRect rcRectWnd; // required |
| 194 CFX_SystemHandler* pSystemHandler; // required | 193 CFX_SystemHandler* pSystemHandler; // required |
| 195 IPVT_FontMap* pFontMap; // required for text window | 194 IPVT_FontMap* pFontMap; // required for text window |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 CFX_FloatRect m_rcWindow; | 422 CFX_FloatRect m_rcWindow; |
| 424 CFX_FloatRect m_rcClip; | 423 CFX_FloatRect m_rcClip; |
| 425 | 424 |
| 426 FX_BOOL m_bCreated; | 425 FX_BOOL m_bCreated; |
| 427 FX_BOOL m_bVisible; | 426 FX_BOOL m_bVisible; |
| 428 FX_BOOL m_bNotifying; | 427 FX_BOOL m_bNotifying; |
| 429 FX_BOOL m_bEnabled; | 428 FX_BOOL m_bEnabled; |
| 430 }; | 429 }; |
| 431 | 430 |
| 432 #endif // FPDFSDK_PDFWINDOW_PWL_WND_H_ | 431 #endif // FPDFSDK_PDFWINDOW_PWL_WND_H_ |
| OLD | NEW |