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

Unified Diff: xfa/fwl/core/cfwl_widgetmgr.h

Issue 2436103002: Remove FWL globals. (Closed)
Patch Set: fix mac Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: xfa/fwl/core/cfwl_widgetmgr.h
diff --git a/xfa/fwl/core/cfwl_widgetmgr.h b/xfa/fwl/core/cfwl_widgetmgr.h
index e0188bd600bd6427e257f324cf564eff7b793949..3c443cbfca63c6ed674630aef0473be47ffb2555 100644
--- a/xfa/fwl/core/cfwl_widgetmgr.h
+++ b/xfa/fwl/core/cfwl_widgetmgr.h
@@ -46,8 +46,6 @@ class CFWL_WidgetMgrItem {
class CFWL_WidgetMgr {
public:
- static CFWL_WidgetMgr* GetInstance();
-
explicit CFWL_WidgetMgr(CXFA_FFApp* pAdapterNative);
~CFWL_WidgetMgr();
@@ -97,6 +95,8 @@ class CFWL_WidgetMgr {
CFX_RectF& rtPopup);
protected:
+ friend class CFWL_WidgetMgrDelegate;
+
int32_t TravelWidgetMgr(CFWL_WidgetMgrItem* pParent,
int32_t* pIndex,
CFWL_WidgetMgrItem* pItem,
@@ -110,7 +110,6 @@ class CFWL_WidgetMgr {
#if (_FX_OS_ == _FX_WIN32_DESKTOP_) || (_FX_OS_ == _FX_WIN64_)
CFX_RectF m_rtScreen;
#endif
- friend class CFWL_WidgetMgrDelegate;
};
class CFWL_WidgetMgrDelegate {

Powered by Google App Engine
This is Rietveld 408576698