| 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/include/fxcrt/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/core/fwl_appimp.h" | 11 #include "xfa/fwl/core/fwl_appimp.h" |
| 12 #include "xfa/fwl/core/fwl_formimp.h" | 12 #include "xfa/fwl/core/fwl_formimp.h" |
| 13 #include "xfa/fwl/core/fwl_panelimp.h" | 13 #include "xfa/fwl/core/fwl_panelimp.h" |
| 14 #include "xfa/fwl/core/fwl_targetimp.h" | 14 #include "xfa/fwl/core/fwl_targetimp.h" |
| 15 #include "xfa/fwl/core/fwl_threadimp.h" | 15 #include "xfa/fwl/core/fwl_threadimp.h" |
| 16 #include "xfa/fwl/core/fwl_widgetimp.h" | 16 #include "xfa/fwl/core/fwl_widgetimp.h" |
| 17 #include "xfa/fwl/core/fwl_widgetmgrimp.h" | 17 #include "xfa/fwl/core/fwl_widgetmgrimp.h" |
| 18 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h" | 18 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h" |
| 19 #include "xfa/include/fwl/basewidget/fwl_tooltipctrl.h" | 19 #include "xfa/include/fwl/basewidget/fwl_tooltipctrl.h" |
| (...skipping 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1088 return NULL; | 1088 return NULL; |
| 1089 return widget->GetInterface(); | 1089 return widget->GetInterface(); |
| 1090 } | 1090 } |
| 1091 FWL_ERR FWL_SetHook(IFWL_NoteDriver* driver, | 1091 FWL_ERR FWL_SetHook(IFWL_NoteDriver* driver, |
| 1092 FWLMessageHookCallback callback, | 1092 FWLMessageHookCallback callback, |
| 1093 void* info) { | 1093 void* info) { |
| 1094 CFWL_NoteDriver* noteDriver = static_cast<CFWL_NoteDriver*>(driver); | 1094 CFWL_NoteDriver* noteDriver = static_cast<CFWL_NoteDriver*>(driver); |
| 1095 noteDriver->SetHook(callback, info); | 1095 noteDriver->SetHook(callback, info); |
| 1096 return FWL_ERR_Succeeded; | 1096 return FWL_ERR_Succeeded; |
| 1097 } | 1097 } |
| OLD | NEW |