| 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/lightwidget/cfwl_tooltip.h" | 7 #include "xfa/fwl/lightwidget/cfwl_tooltip.h" |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| 11 #include "xfa/fwl/core/fwl_formimp.h" | 11 #include "xfa/fwl/core/fwl_formimp.h" |
| 12 #include "xfa/fwl/core/fwl_noteimp.h" | 12 #include "xfa/fwl/core/fwl_noteimp.h" |
| 13 #include "xfa/fwl/core/fwl_panelimp.h" | |
| 14 #include "xfa/fwl/core/fwl_targetimp.h" | 13 #include "xfa/fwl/core/fwl_targetimp.h" |
| 15 #include "xfa/fwl/core/fwl_threadimp.h" | 14 #include "xfa/fwl/core/fwl_threadimp.h" |
| 16 #include "xfa/fwl/core/fwl_widgetimp.h" | 15 #include "xfa/fwl/core/fwl_widgetimp.h" |
| 17 | 16 |
| 18 CFWL_ToolTip* CFWL_ToolTip::Create() { | 17 CFWL_ToolTip* CFWL_ToolTip::Create() { |
| 19 return new CFWL_ToolTip; | 18 return new CFWL_ToolTip; |
| 20 } | 19 } |
| 21 | 20 |
| 22 FWL_ERR CFWL_ToolTip::Initialize(const CFWL_WidgetProperties* pProperties) { | 21 FWL_ERR CFWL_ToolTip::Initialize(const CFWL_WidgetProperties* pProperties) { |
| 23 if (m_pIface) | 22 if (m_pIface) |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 } | 124 } |
| 126 | 125 |
| 127 CFX_SizeF CFWL_ToolTip::CFWL_ToolTipDP::GetToolTipIconSize( | 126 CFX_SizeF CFWL_ToolTip::CFWL_ToolTipDP::GetToolTipIconSize( |
| 128 IFWL_Widget* pWidget) { | 127 IFWL_Widget* pWidget) { |
| 129 return m_fIconSize; | 128 return m_fIconSize; |
| 130 } | 129 } |
| 131 | 130 |
| 132 CFX_RectF CFWL_ToolTip::CFWL_ToolTipDP::GetAnchor() { | 131 CFX_RectF CFWL_ToolTip::CFWL_ToolTipDP::GetAnchor() { |
| 133 return m_fAnchor; | 132 return m_fAnchor; |
| 134 } | 133 } |
| OLD | NEW |