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

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

Issue 2464703006: Fold IFWL*::{Initialize|Finalize} into constructor/destructor (Closed)
Patch Set: Rebase to master Created 4 years, 1 month 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/cfwl_widget.cpp ('k') | xfa/fwl/core/fwl_noteimp.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_NOTEIMP_H_ 7 #ifndef XFA_FWL_CORE_FWL_NOTEIMP_H_
8 #define XFA_FWL_CORE_FWL_NOTEIMP_H_ 8 #define XFA_FWL_CORE_FWL_NOTEIMP_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 class CFWL_ToolTipContainer final { 130 class CFWL_ToolTipContainer final {
131 public: 131 public:
132 static CFWL_ToolTipContainer* getInstance(); 132 static CFWL_ToolTipContainer* getInstance();
133 static void DeleteInstance(); 133 static void DeleteInstance();
134 134
135 protected: 135 protected:
136 CFWL_ToolTipContainer(); 136 CFWL_ToolTipContainer();
137 ~CFWL_ToolTipContainer(); 137 ~CFWL_ToolTipContainer();
138 138
139 IFWL_ToolTip* m_pToolTipImp;
140 std::unique_ptr<CFWL_CoreToolTipDP> m_pToolTipDp; 139 std::unique_ptr<CFWL_CoreToolTipDP> m_pToolTipDp;
141 140
142 private: 141 private:
143 static CFWL_ToolTipContainer* s_pInstance; 142 static CFWL_ToolTipContainer* s_pInstance;
144 }; 143 };
145 144
146 #endif // XFA_FWL_CORE_FWL_NOTEIMP_H_ 145 #endif // XFA_FWL_CORE_FWL_NOTEIMP_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/cfwl_widget.cpp ('k') | xfa/fwl/core/fwl_noteimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698