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

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

Issue 1921853006: More FWL interface cleanup. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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/fwl_appimp.h
diff --git a/xfa/fwl/core/fwl_appimp.h b/xfa/fwl/core/fwl_appimp.h
index a7130602fd00306ee74399c3f4623d9f8f3bd7c4..f4f1993ae627ec7cb28c6f5d8edc3d9a277f5e02 100644
--- a/xfa/fwl/core/fwl_appimp.h
+++ b/xfa/fwl/core/fwl_appimp.h
@@ -9,18 +9,24 @@
#include <memory>
-#include "xfa/fwl/core/fwl_threadimp.h"
+#include "xfa/fwl/core/fwl_noteimp.h"
class CFWL_WidgetMgr;
class IFWL_AdapterNative;
-class IFWL_WidgetMgr;
-class IFWL_ThemeProvider;
class IFWL_App;
+class CFWL_NoteDriver;
+class IFWL_NoteThread;
+class IFWL_ThemeProvider;
+class IFWL_WidgetMgr;
-class CFWL_AppImp : public CFWL_ThreadImp {
+class CFWL_AppImp {
public:
CFWL_AppImp(IFWL_App* pIface, IFWL_AdapterNative* pAdapter);
virtual ~CFWL_AppImp();
+
+ IFWL_App* GetInterface() const { return m_pIface; }
+ CFWL_NoteDriver* GetNoteDriver() const { return m_pNoteDriver; }
+
virtual FWL_ERR Initialize();
virtual FWL_ERR Finalize();
virtual IFWL_AdapterNative* GetAdapterNative() const;
@@ -33,6 +39,10 @@ class CFWL_AppImp : public CFWL_ThreadImp {
IFWL_AdapterNative* const m_pAdapterNative;
std::unique_ptr<CFWL_WidgetMgr> m_pWidgetMgr;
IFWL_ThemeProvider* m_pThemeProvider;
+ CFWL_NoteDriver* const m_pNoteDriver;
+
+ private:
+ IFWL_App* const m_pIface;
};
#endif // XFA_FWL_CORE_FWL_APPIMP_H_

Powered by Google App Engine
This is Rietveld 408576698