diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-28 10:51:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-28 10:51:13 -0700 |
commit | 7322343b9322b93d97077575f95a00dcca3f0451 (patch) | |
tree | 36337e0a2aff2147a9067477f982496129f0f7a1 /xfa/fwl/core/fwl_threadimp.h | |
parent | e6ebf7af7ea94d48091be300cec84b499d3b8ae0 (diff) | |
download | pdfium-7322343b9322b93d97077575f95a00dcca3f0451.tar.xz |
More FWL interface cleanup.
This CL merges the IFWL_Target class into IFWL_Widget and IFWL_Thread into
IFWL_App. The IFWL_WidgetMgrDelegate, IFWL_NoteDriver and IFWL_NotThread are
removed in favour of their concrete classes.
Review-Url: https://codereview.chromium.org/1921853006
Diffstat (limited to 'xfa/fwl/core/fwl_threadimp.h')
-rw-r--r-- | xfa/fwl/core/fwl_threadimp.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/xfa/fwl/core/fwl_threadimp.h b/xfa/fwl/core/fwl_threadimp.h deleted file mode 100644 index d10d493899..0000000000 --- a/xfa/fwl/core/fwl_threadimp.h +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2014 PDFium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com - -#ifndef XFA_FWL_CORE_FWL_THREADIMP_H_ -#define XFA_FWL_CORE_FWL_THREADIMP_H_ - -#include "xfa/fwl/core/fwl_noteimp.h" -#include "xfa/fwl/core/ifwl_thread.h" - -class IFWL_NoteDriver; -class IFWL_NoteThread; - -class CFWL_ThreadImp { - public: - CFWL_ThreadImp(IFWL_Thread* pIface) - : m_pNoteDriver(new CFWL_NoteDriver), m_pIface(pIface) {} - - virtual ~CFWL_ThreadImp() { delete m_pNoteDriver; } - - IFWL_Thread* GetInterface() const { return m_pIface; } - IFWL_NoteDriver* GetNoteDriver() const { return m_pNoteDriver; } - - protected: - CFWL_NoteDriver* const m_pNoteDriver; - - private: - IFWL_Thread* const m_pIface; -}; - -#endif // XFA_FWL_CORE_FWL_THREADIMP_H_ |