| 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/include/fx_ext.h" |
| 10 #include "xfa/fwl/basewidget/fwl_tooltipctrlimp.h" | 10 #include "xfa/fwl/basewidget/fwl_tooltipctrlimp.h" |
| 11 #include "xfa/fwl/basewidget/ifwl_tooltip.h" | 11 #include "xfa/fwl/basewidget/ifwl_tooltip.h" |
| 12 #include "xfa/fwl/core/cfwl_message.h" | 12 #include "xfa/fwl/core/cfwl_message.h" |
| 13 #include "xfa/fwl/core/cfwl_widgetmgr.h" |
| 13 #include "xfa/fwl/core/fwl_appimp.h" | 14 #include "xfa/fwl/core/fwl_appimp.h" |
| 14 #include "xfa/fwl/core/fwl_formimp.h" | 15 #include "xfa/fwl/core/fwl_formimp.h" |
| 15 #include "xfa/fwl/core/fwl_widgetimp.h" | 16 #include "xfa/fwl/core/fwl_widgetimp.h" |
| 16 #include "xfa/fwl/core/fwl_widgetmgrimp.h" | |
| 17 #include "xfa/fwl/core/ifwl_app.h" | 17 #include "xfa/fwl/core/ifwl_app.h" |
| 18 #include "xfa/fwl/core/ifwl_tooltiptarget.h" | 18 #include "xfa/fwl/core/ifwl_tooltiptarget.h" |
| 19 | 19 |
| 20 CFWL_NoteLoop::CFWL_NoteLoop(CFWL_WidgetImp* pForm) | 20 CFWL_NoteLoop::CFWL_NoteLoop(CFWL_WidgetImp* pForm) |
| 21 : m_pForm(pForm), m_bContinueModal(TRUE) {} | 21 : m_pForm(pForm), m_bContinueModal(TRUE) {} |
| 22 | 22 |
| 23 FWL_Error CFWL_NoteLoop::Idle(int32_t count) { | 23 FWL_Error CFWL_NoteLoop::Idle(int32_t count) { |
| 24 #if (_FX_OS_ == _FX_WIN32_DESKTOP_) | 24 #if (_FX_OS_ == _FX_WIN32_DESKTOP_) |
| 25 if (count <= 0) { | 25 if (count <= 0) { |
| 26 #endif | 26 #endif |
| (...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 888 if (HasToolTip(pEvt->m_pDstTarget) && NULL != m_pToolTipImp) { | 888 if (HasToolTip(pEvt->m_pDstTarget) && NULL != m_pToolTipImp) { |
| 889 m_pToolTipImp->Hide(); | 889 m_pToolTipImp->Hide(); |
| 890 pCurTarget = NULL; | 890 pCurTarget = NULL; |
| 891 return TRUE; | 891 return TRUE; |
| 892 } | 892 } |
| 893 return FALSE; | 893 return FALSE; |
| 894 } | 894 } |
| 895 IFWL_ToolTipTarget* CFWL_ToolTipContainer::GetCurrentToolTipTarget() { | 895 IFWL_ToolTipTarget* CFWL_ToolTipContainer::GetCurrentToolTipTarget() { |
| 896 return pCurTarget; | 896 return pCurTarget; |
| 897 } | 897 } |
| OLD | NEW |