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

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

Issue 1874963002: Remove some FWL code. (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 unified diff | Download patch
« no previous file with comments | « xfa/fwl/core/fwl_sdadapterimp.cpp ('k') | xfa/fwl/core/fwl_threadimp.cpp » ('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_FWL_THREADIMP_H_ 7 #ifndef XFA_FWL_CORE_FWL_THREADIMP_H_
8 #define XFA_FWL_CORE_FWL_THREADIMP_H_ 8 #define XFA_FWL_CORE_FWL_THREADIMP_H_
9 9
10 #include "xfa/fwl/core/ifwl_thread.h" 10 #include "xfa/fwl/core/ifwl_thread.h"
11 11
12 class CFWL_NoteDriver; 12 class CFWL_NoteDriver;
13 class IFWL_NoteDriver; 13 class IFWL_NoteDriver;
14 class IFWL_NoteThread; 14 class IFWL_NoteThread;
15 15
16 class CFWL_ThreadImp { 16 class CFWL_ThreadImp {
17 public: 17 public:
18 virtual ~CFWL_ThreadImp() {} 18 virtual ~CFWL_ThreadImp() {}
19 IFWL_Thread* GetInterface() const { return m_pIface; } 19 IFWL_Thread* GetInterface() const { return m_pIface; }
20 virtual FWL_ERR Run(FWL_HTHREAD hThread);
21 20
22 protected: 21 protected:
23 CFWL_ThreadImp(IFWL_Thread* pIface) : m_pIface(pIface) {} 22 CFWL_ThreadImp(IFWL_Thread* pIface) : m_pIface(pIface) {}
24 23
25 private: 24 private:
26 IFWL_Thread* const m_pIface; 25 IFWL_Thread* const m_pIface;
27 }; 26 };
28 27
29 class CFWL_NoteThreadImp : public CFWL_ThreadImp { 28 class CFWL_NoteThreadImp : public CFWL_ThreadImp {
30 public: 29 public:
31 CFWL_NoteThreadImp(IFWL_NoteThread* pIface); 30 CFWL_NoteThreadImp(IFWL_NoteThread* pIface);
32 virtual ~CFWL_NoteThreadImp(); 31 virtual ~CFWL_NoteThreadImp();
33 32
34 FWL_ERR Run(FWL_HTHREAD hThread) override;
35 virtual IFWL_NoteDriver* GetNoteDriver(); 33 virtual IFWL_NoteDriver* GetNoteDriver();
36 34
37 protected: 35 protected:
38 CFWL_NoteDriver* const m_pNoteDriver; 36 CFWL_NoteDriver* const m_pNoteDriver;
39 }; 37 };
40 38
41 #endif // XFA_FWL_CORE_FWL_THREADIMP_H_ 39 #endif // XFA_FWL_CORE_FWL_THREADIMP_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/fwl_sdadapterimp.cpp ('k') | xfa/fwl/core/fwl_threadimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698