| 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/fxfa/app/xfa_ffnotify.h" | 7 #include "xfa/fxfa/app/xfa_ffnotify.h" |
| 8 | 8 |
| 9 #include "fxjse/include/cfxjse_value.h" | 9 #include "fxjs/include/cfxjse_value.h" |
| 10 #include "xfa/fxfa/app/xfa_ffbarcode.h" | 10 #include "xfa/fxfa/app/xfa_ffbarcode.h" |
| 11 #include "xfa/fxfa/app/xfa_ffcheckbutton.h" | 11 #include "xfa/fxfa/app/xfa_ffcheckbutton.h" |
| 12 #include "xfa/fxfa/app/xfa_ffchoicelist.h" | 12 #include "xfa/fxfa/app/xfa_ffchoicelist.h" |
| 13 #include "xfa/fxfa/app/xfa_ffdraw.h" | 13 #include "xfa/fxfa/app/xfa_ffdraw.h" |
| 14 #include "xfa/fxfa/app/xfa_ffexclgroup.h" | 14 #include "xfa/fxfa/app/xfa_ffexclgroup.h" |
| 15 #include "xfa/fxfa/app/xfa_fffield.h" | 15 #include "xfa/fxfa/app/xfa_fffield.h" |
| 16 #include "xfa/fxfa/app/xfa_ffimage.h" | 16 #include "xfa/fxfa/app/xfa_ffimage.h" |
| 17 #include "xfa/fxfa/app/xfa_ffimageedit.h" | 17 #include "xfa/fxfa/app/xfa_ffimageedit.h" |
| 18 #include "xfa/fxfa/app/xfa_ffpath.h" | 18 #include "xfa/fxfa/app/xfa_ffpath.h" |
| 19 #include "xfa/fxfa/app/xfa_ffpushbutton.h" | 19 #include "xfa/fxfa/app/xfa_ffpushbutton.h" |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 return; | 505 return; |
| 506 | 506 |
| 507 CXFA_FFWidget* pWidget = XFA_GetWidgetFromLayoutItem(pSender); | 507 CXFA_FFWidget* pWidget = XFA_GetWidgetFromLayoutItem(pSender); |
| 508 if (!pWidget) | 508 if (!pWidget) |
| 509 return; | 509 return; |
| 510 | 510 |
| 511 pDocView->DeleteLayoutItem(pWidget); | 511 pDocView->DeleteLayoutItem(pWidget); |
| 512 m_pDoc->GetDocProvider()->WidgetPreRemove(pWidget, pWidget->GetDataAcc()); | 512 m_pDoc->GetDocProvider()->WidgetPreRemove(pWidget, pWidget->GetDataAcc()); |
| 513 pWidget->AddInvalidateRect(nullptr); | 513 pWidget->AddInvalidateRect(nullptr); |
| 514 } | 514 } |
| OLD | NEW |