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

Side by Side Diff: xfa/src/fxfa/src/app/xfa_ffpageview.cpp

Issue 1733693002: Remove xfa_common.h and IWYU. (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/src/fxfa/src/app/xfa_ffnotify.cpp ('k') | xfa/src/fxfa/src/app/xfa_ffpath.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/src/foxitlib.h" 7 #include "xfa/src/foxitlib.h"
8 #include "xfa/src/fxfa/src/app/xfa_ffcheckbutton.h" 8 #include "xfa/src/fxfa/src/app/xfa_ffcheckbutton.h"
9 #include "xfa/src/fxfa/src/app/xfa_ffchoicelist.h" 9 #include "xfa/src/fxfa/src/app/xfa_ffchoicelist.h"
10 #include "xfa/src/fxfa/src/app/xfa_ffdoc.h" 10 #include "xfa/src/fxfa/src/app/xfa_ffdoc.h"
11 #include "xfa/src/fxfa/src/app/xfa_ffdocview.h" 11 #include "xfa/src/fxfa/src/app/xfa_ffdocview.h"
12 #include "xfa/src/fxfa/src/app/xfa_fffield.h" 12 #include "xfa/src/fxfa/src/app/xfa_fffield.h"
13 #include "xfa/src/fxfa/src/app/xfa_ffimageedit.h" 13 #include "xfa/src/fxfa/src/app/xfa_ffimageedit.h"
14 #include "xfa/src/fxfa/src/app/xfa_ffpageview.h" 14 #include "xfa/src/fxfa/src/app/xfa_ffpageview.h"
15 #include "xfa/src/fxfa/src/app/xfa_ffpushbutton.h" 15 #include "xfa/src/fxfa/src/app/xfa_ffpushbutton.h"
16 #include "xfa/src/fxfa/src/app/xfa_fftextedit.h" 16 #include "xfa/src/fxfa/src/app/xfa_fftextedit.h"
17 #include "xfa/src/fxfa/src/app/xfa_ffwidget.h" 17 #include "xfa/src/fxfa/src/app/xfa_ffwidget.h"
18 #include "xfa/src/fxfa/src/app/xfa_fwladapter.h" 18 #include "xfa/src/fxfa/src/app/xfa_fwladapter.h"
19 #include "xfa/src/fxfa/src/common/xfa_common.h" 19
20 CXFA_FFPageView::CXFA_FFPageView(CXFA_FFDocView* pDocView, CXFA_Node* pPageArea) 20 CXFA_FFPageView::CXFA_FFPageView(CXFA_FFDocView* pDocView, CXFA_Node* pPageArea)
21 : CXFA_ContainerLayoutItem(pPageArea), 21 : CXFA_ContainerLayoutItem(pPageArea),
22 m_pDocView(pDocView), 22 m_pDocView(pDocView),
23 m_bLoaded(FALSE) {} 23 m_bLoaded(FALSE) {}
24 CXFA_FFPageView::~CXFA_FFPageView() {} 24 CXFA_FFPageView::~CXFA_FFPageView() {}
25 IXFA_DocView* CXFA_FFPageView::GetDocView() { 25 IXFA_DocView* CXFA_FFPageView::GetDocView() {
26 return m_pDocView; 26 return m_pDocView;
27 } 27 }
28 int32_t CXFA_FFPageView::GetPageViewIndex() { 28 int32_t CXFA_FFPageView::GetPageViewIndex() {
29 return GetPageIndex(); 29 return GetPageIndex();
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 CXFA_LayoutItem* pLayoutItem) { 414 CXFA_LayoutItem* pLayoutItem) {
415 if (CXFA_FFWidget* pWidget = XFA_GetWidgetFromLayoutItem(pLayoutItem)) { 415 if (CXFA_FFWidget* pWidget = XFA_GetWidgetFromLayoutItem(pLayoutItem)) {
416 if (!pWidget->IsLoaded() && 416 if (!pWidget->IsLoaded() &&
417 (pWidget->GetStatus() & XFA_WIDGETSTATUS_Visible)) { 417 (pWidget->GetStatus() & XFA_WIDGETSTATUS_Visible)) {
418 pWidget->LoadWidget(); 418 pWidget->LoadWidget();
419 } 419 }
420 return pWidget; 420 return pWidget;
421 } 421 }
422 return NULL; 422 return NULL;
423 } 423 }
OLDNEW
« no previous file with comments | « xfa/src/fxfa/src/app/xfa_ffnotify.cpp ('k') | xfa/src/fxfa/src/app/xfa_ffpath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698