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

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

Issue 2383593002: Move xfa/fxfa/include to xfa/fxfa (Closed)
Patch Set: Rebase to master Created 4 years, 2 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_fftextedit.cpp ('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/include/xfa_ffwidget.h" 7 #include "xfa/fxfa/xfa_ffwidget.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <memory> 10 #include <memory>
11 11
12 #include "core/fpdfapi/fpdf_page/cpdf_pageobjectholder.h" 12 #include "core/fpdfapi/fpdf_page/cpdf_pageobjectholder.h"
13 #include "core/fxcodec/codec/ccodec_progressivedecoder.h" 13 #include "core/fxcodec/codec/ccodec_progressivedecoder.h"
14 #include "core/fxcodec/fx_codec.h" 14 #include "core/fxcodec/fx_codec.h"
15 #include "core/fxge/cfx_gemodule.h" 15 #include "core/fxge/cfx_gemodule.h"
16 #include "core/fxge/cfx_pathdata.h" 16 #include "core/fxge/cfx_pathdata.h"
17 #include "core/fxge/cfx_renderdevice.h" 17 #include "core/fxge/cfx_renderdevice.h"
18 #include "xfa/fxfa/app/xfa_textlayout.h" 18 #include "xfa/fxfa/app/xfa_textlayout.h"
19 #include "xfa/fxfa/include/cxfa_eventparam.h" 19 #include "xfa/fxfa/cxfa_eventparam.h"
20 #include "xfa/fxfa/include/fxfa_widget.h" 20 #include "xfa/fxfa/fxfa_widget.h"
21 #include "xfa/fxfa/include/xfa_ffapp.h"
22 #include "xfa/fxfa/include/xfa_ffdoc.h"
23 #include "xfa/fxfa/include/xfa_ffdocview.h"
24 #include "xfa/fxfa/include/xfa_ffpageview.h"
25 #include "xfa/fxfa/parser/cxfa_corner.h" 21 #include "xfa/fxfa/parser/cxfa_corner.h"
22 #include "xfa/fxfa/xfa_ffapp.h"
23 #include "xfa/fxfa/xfa_ffdoc.h"
24 #include "xfa/fxfa/xfa_ffdocview.h"
25 #include "xfa/fxfa/xfa_ffpageview.h"
26 #include "xfa/fxgraphics/cfx_color.h" 26 #include "xfa/fxgraphics/cfx_color.h"
27 #include "xfa/fxgraphics/cfx_graphics.h" 27 #include "xfa/fxgraphics/cfx_graphics.h"
28 #include "xfa/fxgraphics/cfx_path.h" 28 #include "xfa/fxgraphics/cfx_path.h"
29 #include "xfa/fxgraphics/cfx_pattern.h" 29 #include "xfa/fxgraphics/cfx_pattern.h"
30 #include "xfa/fxgraphics/cfx_shading.h" 30 #include "xfa/fxgraphics/cfx_shading.h"
31 31
32 CXFA_FFWidget::CXFA_FFWidget(CXFA_FFPageView* pPageView, 32 CXFA_FFWidget::CXFA_FFWidget(CXFA_FFPageView* pPageView,
33 CXFA_WidgetAcc* pDataAcc) 33 CXFA_WidgetAcc* pDataAcc)
34 : CXFA_ContentLayoutItem(pDataAcc->GetNode()), 34 : CXFA_ContentLayoutItem(pDataAcc->GetNode()),
35 m_pPageView(pPageView), 35 m_pPageView(pPageView),
(...skipping 2008 matching lines...) Expand 10 before | Expand all | Expand 10 after
2044 } 2044 }
2045 XFA_BOX_Fill(box, strokes, pGS, rtWidget, pMatrix, dwFlags); 2045 XFA_BOX_Fill(box, strokes, pGS, rtWidget, pMatrix, dwFlags);
2046 XFA_BOX_Stroke(box, strokes, pGS, rtWidget, pMatrix, dwFlags); 2046 XFA_BOX_Stroke(box, strokes, pGS, rtWidget, pMatrix, dwFlags);
2047 } 2047 }
2048 2048
2049 CXFA_CalcData::CXFA_CalcData() : m_iRefCount(0) {} 2049 CXFA_CalcData::CXFA_CalcData() : m_iRefCount(0) {}
2050 2050
2051 CXFA_CalcData::~CXFA_CalcData() { 2051 CXFA_CalcData::~CXFA_CalcData() {
2052 m_Globals.RemoveAll(); 2052 m_Globals.RemoveAll();
2053 } 2053 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_fftextedit.cpp ('k') | xfa/fxfa/app/xfa_ffwidgetacc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698