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

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

Issue 1746053003: Remove foxitlib.h and foxitxfa.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review cleanup 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_fftextedit.cpp ('k') | xfa/src/fxfa/src/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/src/fxfa/src/app/xfa_ffwidget.h"
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "xfa/src/foxitlib.h" 11 #include "core/include/fpdfapi/fpdf_page.h"
12 #include "core/include/fxcodec/fx_codec.h"
13 #include "xfa/include/fxgraphics/fx_graphics.h"
10 #include "xfa/src/fxfa/src/app/xfa_ffapp.h" 14 #include "xfa/src/fxfa/src/app/xfa_ffapp.h"
11 #include "xfa/src/fxfa/src/app/xfa_ffdoc.h" 15 #include "xfa/src/fxfa/src/app/xfa_ffdoc.h"
12 #include "xfa/src/fxfa/src/app/xfa_ffdocview.h" 16 #include "xfa/src/fxfa/src/app/xfa_ffdocview.h"
13 #include "xfa/src/fxfa/src/app/xfa_ffpageview.h" 17 #include "xfa/src/fxfa/src/app/xfa_ffpageview.h"
14 #include "xfa/src/fxfa/src/app/xfa_ffwidget.h"
15 #include "xfa/src/fxfa/src/app/xfa_textlayout.h" 18 #include "xfa/src/fxfa/src/app/xfa_textlayout.h"
16 19
17 CXFA_FFWidget::CXFA_FFWidget(CXFA_FFPageView* pPageView, 20 CXFA_FFWidget::CXFA_FFWidget(CXFA_FFPageView* pPageView,
18 CXFA_WidgetAcc* pDataAcc) 21 CXFA_WidgetAcc* pDataAcc)
19 : CXFA_ContentLayoutItem(pDataAcc->GetNode()), 22 : CXFA_ContentLayoutItem(pDataAcc->GetNode()),
20 m_pPageView(pPageView), 23 m_pPageView(pPageView),
21 m_pDataAcc(pDataAcc) { 24 m_pDataAcc(pDataAcc) {
22 m_rtWidget.Set(0, 0, 0, 0); 25 m_rtWidget.Set(0, 0, 0, 0);
23 } 26 }
24 CXFA_FFWidget::~CXFA_FFWidget() {} 27 CXFA_FFWidget::~CXFA_FFWidget() {}
(...skipping 1925 matching lines...) Expand 10 before | Expand all | Expand 10 after
1950 iType != XFA_ELEMENT_Rectangle) { 1953 iType != XFA_ELEMENT_Rectangle) {
1951 return; 1954 return;
1952 } 1955 }
1953 CXFA_StrokeArray strokes; 1956 CXFA_StrokeArray strokes;
1954 if (!(dwFlags & XFA_DRAWBOX_ForceRound) && iType != XFA_ELEMENT_Arc) { 1957 if (!(dwFlags & XFA_DRAWBOX_ForceRound) && iType != XFA_ELEMENT_Arc) {
1955 box.GetStrokes(strokes); 1958 box.GetStrokes(strokes);
1956 } 1959 }
1957 XFA_BOX_Fill(box, strokes, pGS, rtWidget, pMatrix, dwFlags); 1960 XFA_BOX_Fill(box, strokes, pGS, rtWidget, pMatrix, dwFlags);
1958 XFA_BOX_Stroke(box, strokes, pGS, rtWidget, pMatrix, dwFlags); 1961 XFA_BOX_Stroke(box, strokes, pGS, rtWidget, pMatrix, dwFlags);
1959 } 1962 }
OLDNEW
« no previous file with comments | « xfa/src/fxfa/src/app/xfa_fftextedit.cpp ('k') | xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698