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

Unified Diff: xfa/fwl/core/ifwl_app.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/ifwl_app.h
diff --git a/xfa/fwl/core/ifwl_app.h b/xfa/fwl/core/ifwl_app.h
index 35cbbe2ff97179ba8b78a86413933006d3e177b0..983242a3b30b10c7039a558dadf884d57db12427 100644
--- a/xfa/fwl/core/ifwl_app.h
+++ b/xfa/fwl/core/ifwl_app.h
@@ -32,8 +32,8 @@ class IFWL_App {
explicit IFWL_App(CXFA_FFApp* pAdapter);
~IFWL_App();
- CXFA_FFApp* GetAdapterNative();
- CFWL_WidgetMgr* GetWidgetMgr();
+ CXFA_FFApp* GetAdapterNative() const;
Tom Sepez 2016/10/28 23:11:47 nit: do we want these inline as well? Or should Ge
dsinclair 2016/10/31 14:13:18 Inlined.
+ CFWL_WidgetMgr* GetWidgetMgr() const;
CFWL_NoteDriver* GetNoteDriver() const { return m_pNoteDriver.get(); }
private:
@@ -42,10 +42,4 @@ class IFWL_App {
std::unique_ptr<CFWL_NoteDriver> m_pNoteDriver;
};
-IFWL_App* FWL_GetApp();
-void FWL_SetApp(IFWL_App* pApp);
-
-CXFA_FFApp* FWL_GetAdapterNative();
-CXFA_FWLAdapterWidgetMgr* FWL_GetAdapterWidgetMgr();
-
#endif // XFA_FWL_CORE_IFWL_APP_H_

Powered by Google App Engine
This is Rietveld 408576698