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

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

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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/app/xfa_ffnotify.h ('k') | xfa/fxfa/app/xfa_ffpageview.h » ('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/src/fxfa/app/xfa_ffnotify.h" 7 #include "xfa/fxfa/app/xfa_ffnotify.h"
8 8
9 #include "xfa/src/fxfa/app/xfa_ffapp.h" 9 #include "xfa/fxfa/app/xfa_ffapp.h"
10 #include "xfa/src/fxfa/app/xfa_ffbarcode.h" 10 #include "xfa/fxfa/app/xfa_ffbarcode.h"
11 #include "xfa/src/fxfa/app/xfa_ffcheckbutton.h" 11 #include "xfa/fxfa/app/xfa_ffcheckbutton.h"
12 #include "xfa/src/fxfa/app/xfa_ffchoicelist.h" 12 #include "xfa/fxfa/app/xfa_ffchoicelist.h"
13 #include "xfa/src/fxfa/app/xfa_ffdoc.h" 13 #include "xfa/fxfa/app/xfa_ffdoc.h"
14 #include "xfa/src/fxfa/app/xfa_ffdocview.h" 14 #include "xfa/fxfa/app/xfa_ffdocview.h"
15 #include "xfa/src/fxfa/app/xfa_ffdraw.h" 15 #include "xfa/fxfa/app/xfa_ffdraw.h"
16 #include "xfa/src/fxfa/app/xfa_ffexclgroup.h" 16 #include "xfa/fxfa/app/xfa_ffexclgroup.h"
17 #include "xfa/src/fxfa/app/xfa_fffield.h" 17 #include "xfa/fxfa/app/xfa_fffield.h"
18 #include "xfa/src/fxfa/app/xfa_ffimage.h" 18 #include "xfa/fxfa/app/xfa_ffimage.h"
19 #include "xfa/src/fxfa/app/xfa_ffimageedit.h" 19 #include "xfa/fxfa/app/xfa_ffimageedit.h"
20 #include "xfa/src/fxfa/app/xfa_ffpageview.h" 20 #include "xfa/fxfa/app/xfa_ffpageview.h"
21 #include "xfa/src/fxfa/app/xfa_ffpath.h" 21 #include "xfa/fxfa/app/xfa_ffpath.h"
22 #include "xfa/src/fxfa/app/xfa_ffpushbutton.h" 22 #include "xfa/fxfa/app/xfa_ffpushbutton.h"
23 #include "xfa/src/fxfa/app/xfa_ffsignature.h" 23 #include "xfa/fxfa/app/xfa_ffsignature.h"
24 #include "xfa/src/fxfa/app/xfa_ffsubform.h" 24 #include "xfa/fxfa/app/xfa_ffsubform.h"
25 #include "xfa/src/fxfa/app/xfa_fftext.h" 25 #include "xfa/fxfa/app/xfa_fftext.h"
26 #include "xfa/src/fxfa/app/xfa_fftextedit.h" 26 #include "xfa/fxfa/app/xfa_fftextedit.h"
27 #include "xfa/src/fxfa/app/xfa_ffwidget.h" 27 #include "xfa/fxfa/app/xfa_ffwidget.h"
28 #include "xfa/src/fxfa/app/xfa_ffwidgetacc.h" 28 #include "xfa/fxfa/app/xfa_ffwidgetacc.h"
29 #include "xfa/src/fxfa/app/xfa_ffwidgethandler.h" 29 #include "xfa/fxfa/app/xfa_ffwidgethandler.h"
30 #include "xfa/src/fxfa/app/xfa_fwladapter.h" 30 #include "xfa/fxfa/app/xfa_fwladapter.h"
31 #include "xfa/src/fxfa/app/xfa_textlayout.h" 31 #include "xfa/fxfa/app/xfa_textlayout.h"
32 32
33 static void XFA_FFDeleteWidgetAcc(void* pData) { 33 static void XFA_FFDeleteWidgetAcc(void* pData) {
34 delete static_cast<CXFA_WidgetAcc*>(pData); 34 delete static_cast<CXFA_WidgetAcc*>(pData);
35 } 35 }
36 static XFA_MAPDATABLOCKCALLBACKINFO gs_XFADeleteWidgetAcc = { 36 static XFA_MAPDATABLOCKCALLBACKINFO gs_XFADeleteWidgetAcc = {
37 XFA_FFDeleteWidgetAcc, NULL}; 37 XFA_FFDeleteWidgetAcc, NULL};
38 CXFA_FFNotify::CXFA_FFNotify(CXFA_FFDoc* pDoc) : m_pDoc(pDoc) {} 38 CXFA_FFNotify::CXFA_FFNotify(CXFA_FFDoc* pDoc) : m_pDoc(pDoc) {}
39 CXFA_FFNotify::~CXFA_FFNotify() {} 39 CXFA_FFNotify::~CXFA_FFNotify() {}
40 void CXFA_FFNotify::OnPageEvent(IXFA_LayoutPage* pSender, 40 void CXFA_FFNotify::OnPageEvent(IXFA_LayoutPage* pSender,
41 XFA_PAGEEVENT eEvent, 41 XFA_PAGEEVENT eEvent,
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 } 639 }
640 } 640 }
641 FX_DWORD dwOldStatus = pWidget->GetStatus(); 641 FX_DWORD dwOldStatus = pWidget->GetStatus();
642 FX_DWORD dwFilter = XFA_WIDGETSTATUS_Visible | XFA_WIDGETSTATUS_Viewable | 642 FX_DWORD dwFilter = XFA_WIDGETSTATUS_Visible | XFA_WIDGETSTATUS_Viewable |
643 XFA_WIDGETSTATUS_Printable; 643 XFA_WIDGETSTATUS_Printable;
644 if ((dwOldStatus & dwFilter) == dwStatus) { 644 if ((dwOldStatus & dwFilter) == dwStatus) {
645 return; 645 return;
646 } 646 }
647 pWidget->ModifyStatus(dwStatus, dwFilter); 647 pWidget->ModifyStatus(dwStatus, dwFilter);
648 } 648 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffnotify.h ('k') | xfa/fxfa/app/xfa_ffpageview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698