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

Side by Side Diff: xfa/fwl/core/ifwl_widgetmgr.h

Issue 1943413002: Convert FWL_ERR into an enum class. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@bcdattribute
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/fwl/core/ifwl_widgetdelegate.h ('k') | xfa/fwl/core/include/ifwl_adaptertimermgr.h » ('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_FWL_CORE_IFWL_WIDGETMGR_H_ 7 #ifndef XFA_FWL_CORE_IFWL_WIDGETMGR_H_
8 #define XFA_FWL_CORE_IFWL_WIDGETMGR_H_ 8 #define XFA_FWL_CORE_IFWL_WIDGETMGR_H_
9 9
10 #include "core/fxcrt/include/fx_system.h" 10 #include "core/fxcrt/include/fx_system.h"
(...skipping 19 matching lines...) Expand all
30 class IFWL_WidgetMgr { 30 class IFWL_WidgetMgr {
31 public: 31 public:
32 virtual ~IFWL_WidgetMgr() {} 32 virtual ~IFWL_WidgetMgr() {}
33 virtual int32_t CountWidgets(IFWL_Widget* pParent = NULL) = 0; 33 virtual int32_t CountWidgets(IFWL_Widget* pParent = NULL) = 0;
34 virtual IFWL_Widget* GetWidget(int32_t nIndex, 34 virtual IFWL_Widget* GetWidget(int32_t nIndex,
35 IFWL_Widget* pParent = NULL) = 0; 35 IFWL_Widget* pParent = NULL) = 0;
36 virtual IFWL_Widget* GetWidget(IFWL_Widget* pWidget, 36 virtual IFWL_Widget* GetWidget(IFWL_Widget* pWidget,
37 FWL_WGTRELATION eRelation) = 0; 37 FWL_WGTRELATION eRelation) = 0;
38 virtual int32_t GetWidgetIndex(IFWL_Widget* pWidget) = 0; 38 virtual int32_t GetWidgetIndex(IFWL_Widget* pWidget) = 0;
39 virtual FX_BOOL SetWidgetIndex(IFWL_Widget* pWidget, int32_t nIndex) = 0; 39 virtual FX_BOOL SetWidgetIndex(IFWL_Widget* pWidget, int32_t nIndex) = 0;
40 virtual FWL_ERR RepaintWidget(IFWL_Widget* pWidget, 40 virtual FWL_Error RepaintWidget(IFWL_Widget* pWidget,
41 const CFX_RectF* pRect = NULL) = 0; 41 const CFX_RectF* pRect = NULL) = 0;
42 virtual uint32_t GetCapability() = 0; 42 virtual uint32_t GetCapability() = 0;
43 }; 43 };
44 44
45 IFWL_WidgetMgr* FWL_GetWidgetMgr(); 45 IFWL_WidgetMgr* FWL_GetWidgetMgr();
46 46
47 #endif // XFA_FWL_CORE_IFWL_WIDGETMGR_H_ 47 #endif // XFA_FWL_CORE_IFWL_WIDGETMGR_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_widgetdelegate.h ('k') | xfa/fwl/core/include/ifwl_adaptertimermgr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698