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 XFA_FXFA_INCLUDE_FXFA_H_ | 7 #ifndef XFA_FXFA_INCLUDE_FXFA_H_ |
8 #define XFA_FXFA_INCLUDE_FXFA_H_ | 8 #define XFA_FXFA_INCLUDE_FXFA_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 virtual void DisplayCaret(CXFA_FFWidget* hWidget, | 306 virtual void DisplayCaret(CXFA_FFWidget* hWidget, |
307 FX_BOOL bVisible, | 307 FX_BOOL bVisible, |
308 const CFX_RectF* pRtAnchor) = 0; | 308 const CFX_RectF* pRtAnchor) = 0; |
309 virtual FX_BOOL GetPopupPos(CXFA_FFWidget* hWidget, | 309 virtual FX_BOOL GetPopupPos(CXFA_FFWidget* hWidget, |
310 FX_FLOAT fMinPopup, | 310 FX_FLOAT fMinPopup, |
311 FX_FLOAT fMaxPopup, | 311 FX_FLOAT fMaxPopup, |
312 const CFX_RectF& rtAnchor, | 312 const CFX_RectF& rtAnchor, |
313 CFX_RectF& rtPopup) = 0; | 313 CFX_RectF& rtPopup) = 0; |
314 virtual FX_BOOL PopupMenu(CXFA_FFWidget* hWidget, | 314 virtual FX_BOOL PopupMenu(CXFA_FFWidget* hWidget, |
315 CFX_PointF ptPopup, | 315 CFX_PointF ptPopup, |
316 const CFX_RectF* pRectExclude = NULL) = 0; | 316 const CFX_RectF* pRectExclude = nullptr) = 0; |
317 virtual void PageViewEvent(CXFA_FFPageView* pPageView, uint32_t dwFlags) = 0; | 317 virtual void PageViewEvent(CXFA_FFPageView* pPageView, uint32_t dwFlags) = 0; |
318 virtual void WidgetPostAdd(CXFA_FFWidget* hWidget, | 318 virtual void WidgetPostAdd(CXFA_FFWidget* hWidget, |
319 CXFA_WidgetAcc* pWidgetData) = 0; | 319 CXFA_WidgetAcc* pWidgetData) = 0; |
320 virtual void WidgetPreRemove(CXFA_FFWidget* hWidget, | 320 virtual void WidgetPreRemove(CXFA_FFWidget* hWidget, |
321 CXFA_WidgetAcc* pWidgetData) = 0; | 321 CXFA_WidgetAcc* pWidgetData) = 0; |
322 virtual FX_BOOL RenderCustomWidget(CXFA_FFWidget* hWidget, | 322 virtual FX_BOOL RenderCustomWidget(CXFA_FFWidget* hWidget, |
323 CFX_Graphics* pGS, | 323 CFX_Graphics* pGS, |
324 CFX_Matrix* pMatrix, | 324 CFX_Matrix* pMatrix, |
325 const CFX_RectF& rtUI) = 0; | 325 const CFX_RectF& rtUI) = 0; |
326 | 326 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 virtual void Reset() = 0; | 394 virtual void Reset() = 0; |
395 virtual CXFA_FFWidget* MoveToFirst() = 0; | 395 virtual CXFA_FFWidget* MoveToFirst() = 0; |
396 virtual CXFA_FFWidget* MoveToLast() = 0; | 396 virtual CXFA_FFWidget* MoveToLast() = 0; |
397 virtual CXFA_FFWidget* MoveToNext() = 0; | 397 virtual CXFA_FFWidget* MoveToNext() = 0; |
398 virtual CXFA_FFWidget* MoveToPrevious() = 0; | 398 virtual CXFA_FFWidget* MoveToPrevious() = 0; |
399 virtual CXFA_FFWidget* GetCurrentWidget() = 0; | 399 virtual CXFA_FFWidget* GetCurrentWidget() = 0; |
400 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; | 400 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; |
401 }; | 401 }; |
402 | 402 |
403 #endif // XFA_FXFA_INCLUDE_FXFA_H_ | 403 #endif // XFA_FXFA_INCLUDE_FXFA_H_ |
OLD | NEW |