OLD | NEW |
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 #include "xfa/fwl/core/fwl_noteimp.h" | 7 #include "xfa/fwl/core/fwl_noteimp.h" |
8 | 8 |
9 #include "core/fxcrt/include/fx_ext.h" | 9 #include "core/fxcrt/fx_ext.h" |
10 #include "third_party/base/stl_util.h" | 10 #include "third_party/base/stl_util.h" |
11 #include "xfa/fwl/basewidget/fwl_tooltipctrlimp.h" | 11 #include "xfa/fwl/basewidget/fwl_tooltipctrlimp.h" |
12 #include "xfa/fwl/basewidget/ifwl_tooltip.h" | 12 #include "xfa/fwl/basewidget/ifwl_tooltip.h" |
13 #include "xfa/fwl/core/cfwl_message.h" | 13 #include "xfa/fwl/core/cfwl_message.h" |
14 #include "xfa/fwl/core/cfwl_widgetmgr.h" | 14 #include "xfa/fwl/core/cfwl_widgetmgr.h" |
15 #include "xfa/fwl/core/fwl_appimp.h" | 15 #include "xfa/fwl/core/fwl_appimp.h" |
16 #include "xfa/fwl/core/fwl_formimp.h" | 16 #include "xfa/fwl/core/fwl_formimp.h" |
17 #include "xfa/fwl/core/fwl_widgetimp.h" | 17 #include "xfa/fwl/core/fwl_widgetimp.h" |
18 #include "xfa/fwl/core/ifwl_app.h" | 18 #include "xfa/fwl/core/ifwl_app.h" |
19 | 19 |
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
790 if (!s_pInstance) | 790 if (!s_pInstance) |
791 s_pInstance = new CFWL_ToolTipContainer; | 791 s_pInstance = new CFWL_ToolTipContainer; |
792 return s_pInstance; | 792 return s_pInstance; |
793 } | 793 } |
794 | 794 |
795 // static | 795 // static |
796 void CFWL_ToolTipContainer::DeleteInstance() { | 796 void CFWL_ToolTipContainer::DeleteInstance() { |
797 delete s_pInstance; | 797 delete s_pInstance; |
798 s_pInstance = nullptr; | 798 s_pInstance = nullptr; |
799 } | 799 } |
OLD | NEW |