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

Side by Side Diff: xfa/fxfa/app/xfa_fwladapter.h

Issue 1928963004: Cleanup IFWL_Adapter interfaces. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 7 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 | « xfa/fxfa/app/xfa_fffield.h ('k') | xfa/fxfa/app/xfa_fwladapter.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 XFA_FXFA_APP_XFA_FWLADAPTER_H_ 7 #ifndef XFA_FXFA_APP_XFA_FWLADAPTER_H_
8 #define XFA_FXFA_APP_XFA_FWLADAPTER_H_ 8 #define XFA_FXFA_APP_XFA_FWLADAPTER_H_
9 9
10 #include "xfa/fwl/core/fwl_sdadapterimp.h" 10 #include "core/fxcrt/include/fx_coordinates.h"
11 #include "core/fxcrt/include/fx_system.h"
12 #include "xfa/fwl/core/fwl_error.h"
11 13
12 class CXFA_FWLAdapterWidgetMgr : public CFWL_SDAdapterWidgetMgr { 14 class IFWL_Widget;
15
16 class CXFA_FWLAdapterWidgetMgr {
13 public: 17 public:
14 virtual FWL_ERR RepaintWidget(IFWL_Widget* pWidget, const CFX_RectF* pRect); 18 CXFA_FWLAdapterWidgetMgr();
15 virtual FX_BOOL GetPopupPos(IFWL_Widget* pWidget, 19 ~CXFA_FWLAdapterWidgetMgr();
16 FX_FLOAT fMinHeight, 20
17 FX_FLOAT fMaxHeight, 21 FWL_ERR RepaintWidget(IFWL_Widget* pWidget, const CFX_RectF* pRect);
18 const CFX_RectF& rtAnchor, 22 FX_BOOL GetPopupPos(IFWL_Widget* pWidget,
19 CFX_RectF& rtPopup); 23 FX_FLOAT fMinHeight,
24 FX_FLOAT fMaxHeight,
25 const CFX_RectF& rtAnchor,
26 CFX_RectF& rtPopup);
20 }; 27 };
21 28
22 #endif // XFA_FXFA_APP_XFA_FWLADAPTER_H_ 29 #endif // XFA_FXFA_APP_XFA_FWLADAPTER_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_fffield.h ('k') | xfa/fxfa/app/xfa_fwladapter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698