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

Side by Side Diff: xfa/fxfa/app/xfa_fffield.h

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_ffexclgroup.cpp ('k') | xfa/fxfa/app/xfa_fffield.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 #ifndef XFA_SRC_FXFA_APP_XFA_FFFIELD_H_ 7 #ifndef XFA_FXFA_APP_XFA_FFFIELD_H_
8 #define XFA_SRC_FXFA_APP_XFA_FFFIELD_H_ 8 #define XFA_FXFA_APP_XFA_FFFIELD_H_
9 9
10 #include "xfa/fxfa/app/xfa_ffpageview.h"
11 #include "xfa/fxfa/app/xfa_ffwidget.h"
10 #include "xfa/include/fwl/adapter/fwl_sdadapterimp.h" 12 #include "xfa/include/fwl/adapter/fwl_sdadapterimp.h"
11 #include "xfa/include/fwl/core/fwl_widget.h" 13 #include "xfa/include/fwl/core/fwl_widget.h"
12 #include "xfa/include/fwl/lightwidget/widget.h" 14 #include "xfa/include/fwl/lightwidget/widget.h"
13 #include "xfa/src/fxfa/app/xfa_ffpageview.h"
14 #include "xfa/src/fxfa/app/xfa_ffwidget.h"
15 15
16 #define XFA_MINUI_HEIGHT 4.32f 16 #define XFA_MINUI_HEIGHT 4.32f
17 #define XFA_DEFAULTUI_HEIGHT 2.0f 17 #define XFA_DEFAULTUI_HEIGHT 2.0f
18 18
19 class CXFA_FFField : public CXFA_FFWidget, public IFWL_WidgetDelegate { 19 class CXFA_FFField : public CXFA_FFWidget, public IFWL_WidgetDelegate {
20 public: 20 public:
21 CXFA_FFField(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); 21 CXFA_FFField(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc);
22 virtual ~CXFA_FFField(); 22 virtual ~CXFA_FFField();
23 23
24 virtual FX_BOOL GetBBox(CFX_RectF& rtBox, 24 virtual FX_BOOL GetBBox(CFX_RectF& rtBox,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); 90 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent);
91 virtual FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, 91 virtual FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics,
92 const CFX_Matrix* pMatrix = NULL); 92 const CFX_Matrix* pMatrix = NULL);
93 93
94 protected: 94 protected:
95 CFWL_Widget* m_pNormalWidget; 95 CFWL_Widget* m_pNormalWidget;
96 CFX_RectF m_rtUI; 96 CFX_RectF m_rtUI;
97 CFX_RectF m_rtCaption; 97 CFX_RectF m_rtCaption;
98 }; 98 };
99 99
100 #endif // XFA_SRC_FXFA_APP_XFA_FFFIELD_H_ 100 #endif // XFA_FXFA_APP_XFA_FFFIELD_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffexclgroup.cpp ('k') | xfa/fxfa/app/xfa_fffield.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698