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

Side by Side Diff: xfa/fxfa/include/xfa_ffwidget.h

Issue 1864973005: Move remaining xfa/include/fxfa files (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 8 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/include/xfa_ffpageview.h ('k') | xfa/fxfa/include/xfa_ffwidgethandler.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 #ifndef XFA_INCLUDE_FXFA_XFA_FFWIDGET_H_ 7 #ifndef XFA_FXFA_INCLUDE_XFA_FFWIDGET_H_
8 #define XFA_INCLUDE_FXFA_XFA_FFWIDGET_H_ 8 #define XFA_FXFA_INCLUDE_XFA_FFWIDGET_H_
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "core/fxcodec/include/fx_codec_def.h" 12 #include "core/fxcodec/include/fx_codec_def.h"
13 #include "core/fxge/include/fx_ge.h" 13 #include "core/fxge/include/fx_ge.h"
14 #include "xfa/fxfa/include/fxfa.h"
14 #include "xfa/fxfa/parser/xfa_doclayout.h" 15 #include "xfa/fxfa/parser/xfa_doclayout.h"
15 #include "xfa/include/fxfa/fxfa.h"
16 16
17 class CXFA_FFPageView; 17 class CXFA_FFPageView;
18 class CXFA_FFDocView; 18 class CXFA_FFDocView;
19 class CXFA_FFDoc; 19 class CXFA_FFDoc;
20 class CXFA_FFApp; 20 class CXFA_FFApp;
21 21
22 inline FX_FLOAT XFA_UnitPx2Pt(FX_FLOAT fPx, FX_FLOAT fDpi) { 22 inline FX_FLOAT XFA_UnitPx2Pt(FX_FLOAT fPx, FX_FLOAT fDpi) {
23 return fPx * 72.0f / fDpi; 23 return fPx * 72.0f / fDpi;
24 } 24 }
25 #define XFA_FLOAT_PERCISION 0.001f 25 #define XFA_FLOAT_PERCISION 0.001f
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem); 172 CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem);
173 FX_BOOL XFA_IsCreateWidget(XFA_ELEMENT iType); 173 FX_BOOL XFA_IsCreateWidget(XFA_ELEMENT iType);
174 #define XFA_DRAWBOX_ForceRound 1 174 #define XFA_DRAWBOX_ForceRound 1
175 #define XFA_DRAWBOX_Lowered3D 2 175 #define XFA_DRAWBOX_Lowered3D 2
176 void XFA_DrawBox(CXFA_Box box, 176 void XFA_DrawBox(CXFA_Box box,
177 CFX_Graphics* pGS, 177 CFX_Graphics* pGS,
178 const CFX_RectF& rtWidget, 178 const CFX_RectF& rtWidget,
179 CFX_Matrix* pMatrix, 179 CFX_Matrix* pMatrix,
180 uint32_t dwFlags = 0); 180 uint32_t dwFlags = 0);
181 181
182 #endif // XFA_INCLUDE_FXFA_XFA_FFWIDGET_H_ 182 #endif // XFA_FXFA_INCLUDE_XFA_FFWIDGET_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/include/xfa_ffpageview.h ('k') | xfa/fxfa/include/xfa_ffwidgethandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698