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

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

Issue 1952693003: Convert FWL_ERR into an enum class. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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_fftextedit.cpp ('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 "core/fxcrt/include/fx_coordinates.h" 10 #include "core/fxcrt/include/fx_coordinates.h"
11 #include "core/fxcrt/include/fx_system.h" 11 #include "core/fxcrt/include/fx_system.h"
12 #include "xfa/fwl/core/fwl_error.h" 12 #include "xfa/fwl/core/fwl_error.h"
13 13
14 class IFWL_Widget; 14 class IFWL_Widget;
15 15
16 class CXFA_FWLAdapterWidgetMgr { 16 class CXFA_FWLAdapterWidgetMgr {
17 public: 17 public:
18 CXFA_FWLAdapterWidgetMgr(); 18 CXFA_FWLAdapterWidgetMgr();
19 ~CXFA_FWLAdapterWidgetMgr(); 19 ~CXFA_FWLAdapterWidgetMgr();
20 20
21 FWL_ERR RepaintWidget(IFWL_Widget* pWidget, const CFX_RectF* pRect); 21 FWL_Error RepaintWidget(IFWL_Widget* pWidget, const CFX_RectF* pRect);
22 FX_BOOL GetPopupPos(IFWL_Widget* pWidget, 22 FX_BOOL GetPopupPos(IFWL_Widget* pWidget,
23 FX_FLOAT fMinHeight, 23 FX_FLOAT fMinHeight,
24 FX_FLOAT fMaxHeight, 24 FX_FLOAT fMaxHeight,
25 const CFX_RectF& rtAnchor, 25 const CFX_RectF& rtAnchor,
26 CFX_RectF& rtPopup); 26 CFX_RectF& rtPopup);
27 }; 27 };
28 28
29 #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_fftextedit.cpp ('k') | xfa/fxfa/app/xfa_fwladapter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698