Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Side by Side Diff: xfa/fxfa/app/xfa_ffnotify.cpp

Issue 2056663004: Move xfa/fxjse/ to fxjse/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxfa/DEPS ('k') | xfa/fxfa/app/xfa_ffwidgetacc.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "xfa/fxfa/app/xfa_ffbarcode.h" 10 #include "xfa/fxfa/app/xfa_ffbarcode.h"
10 #include "xfa/fxfa/app/xfa_ffcheckbutton.h" 11 #include "xfa/fxfa/app/xfa_ffcheckbutton.h"
11 #include "xfa/fxfa/app/xfa_ffchoicelist.h" 12 #include "xfa/fxfa/app/xfa_ffchoicelist.h"
12 #include "xfa/fxfa/app/xfa_ffdraw.h" 13 #include "xfa/fxfa/app/xfa_ffdraw.h"
13 #include "xfa/fxfa/app/xfa_ffexclgroup.h" 14 #include "xfa/fxfa/app/xfa_ffexclgroup.h"
14 #include "xfa/fxfa/app/xfa_fffield.h" 15 #include "xfa/fxfa/app/xfa_fffield.h"
15 #include "xfa/fxfa/app/xfa_ffimage.h" 16 #include "xfa/fxfa/app/xfa_ffimage.h"
16 #include "xfa/fxfa/app/xfa_ffimageedit.h" 17 #include "xfa/fxfa/app/xfa_ffimageedit.h"
17 #include "xfa/fxfa/app/xfa_ffpath.h" 18 #include "xfa/fxfa/app/xfa_ffpath.h"
18 #include "xfa/fxfa/app/xfa_ffpushbutton.h" 19 #include "xfa/fxfa/app/xfa_ffpushbutton.h"
19 #include "xfa/fxfa/app/xfa_ffsignature.h" 20 #include "xfa/fxfa/app/xfa_ffsignature.h"
20 #include "xfa/fxfa/app/xfa_ffsubform.h" 21 #include "xfa/fxfa/app/xfa_ffsubform.h"
21 #include "xfa/fxfa/app/xfa_fftext.h" 22 #include "xfa/fxfa/app/xfa_fftext.h"
22 #include "xfa/fxfa/app/xfa_fftextedit.h" 23 #include "xfa/fxfa/app/xfa_fftextedit.h"
23 #include "xfa/fxfa/app/xfa_ffwidgetacc.h" 24 #include "xfa/fxfa/app/xfa_ffwidgetacc.h"
24 #include "xfa/fxfa/app/xfa_fwladapter.h" 25 #include "xfa/fxfa/app/xfa_fwladapter.h"
25 #include "xfa/fxfa/app/xfa_textlayout.h" 26 #include "xfa/fxfa/app/xfa_textlayout.h"
26 #include "xfa/fxfa/include/xfa_ffapp.h" 27 #include "xfa/fxfa/include/xfa_ffapp.h"
27 #include "xfa/fxfa/include/xfa_ffdoc.h" 28 #include "xfa/fxfa/include/xfa_ffdoc.h"
28 #include "xfa/fxfa/include/xfa_ffdocview.h" 29 #include "xfa/fxfa/include/xfa_ffdocview.h"
29 #include "xfa/fxfa/include/xfa_ffpageview.h" 30 #include "xfa/fxfa/include/xfa_ffpageview.h"
30 #include "xfa/fxfa/include/xfa_ffwidget.h" 31 #include "xfa/fxfa/include/xfa_ffwidget.h"
31 #include "xfa/fxfa/include/xfa_ffwidgethandler.h" 32 #include "xfa/fxfa/include/xfa_ffwidgethandler.h"
32 #include "xfa/fxjse/value.h"
33 33
34 static void XFA_FFDeleteWidgetAcc(void* pData) { 34 static void XFA_FFDeleteWidgetAcc(void* pData) {
35 delete static_cast<CXFA_WidgetAcc*>(pData); 35 delete static_cast<CXFA_WidgetAcc*>(pData);
36 } 36 }
37 37
38 static XFA_MAPDATABLOCKCALLBACKINFO gs_XFADeleteWidgetAcc = { 38 static XFA_MAPDATABLOCKCALLBACKINFO gs_XFADeleteWidgetAcc = {
39 XFA_FFDeleteWidgetAcc, nullptr}; 39 XFA_FFDeleteWidgetAcc, nullptr};
40 40
41 CXFA_FFNotify::CXFA_FFNotify(CXFA_FFDoc* pDoc) : m_pDoc(pDoc) {} 41 CXFA_FFNotify::CXFA_FFNotify(CXFA_FFDoc* pDoc) : m_pDoc(pDoc) {}
42 CXFA_FFNotify::~CXFA_FFNotify() {} 42 CXFA_FFNotify::~CXFA_FFNotify() {}
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 return; 506 return;
507 507
508 CXFA_FFWidget* pWidget = XFA_GetWidgetFromLayoutItem(pSender); 508 CXFA_FFWidget* pWidget = XFA_GetWidgetFromLayoutItem(pSender);
509 if (!pWidget) 509 if (!pWidget)
510 return; 510 return;
511 511
512 pDocView->DeleteLayoutItem(pWidget); 512 pDocView->DeleteLayoutItem(pWidget);
513 m_pDoc->GetDocProvider()->WidgetPreRemove(pWidget, pWidget->GetDataAcc()); 513 m_pDoc->GetDocProvider()->WidgetPreRemove(pWidget, pWidget->GetDataAcc());
514 pWidget->AddInvalidateRect(nullptr); 514 pWidget->AddInvalidateRect(nullptr);
515 } 515 }
OLDNEW
« no previous file with comments | « xfa/fxfa/DEPS ('k') | xfa/fxfa/app/xfa_ffwidgetacc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698