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

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

Issue 1952693003: Convert FWL_ERR into an enum class. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 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_ffchoicelist.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_FXFA_APP_XFA_FFFIELD_H_ 7 #ifndef XFA_FXFA_APP_XFA_FFFIELD_H_
8 #define XFA_FXFA_APP_XFA_FFFIELD_H_ 8 #define XFA_FXFA_APP_XFA_FFFIELD_H_
9 9
10 #include "xfa/fwl/core/ifwl_widgetdelegate.h" 10 #include "xfa/fwl/core/ifwl_widgetdelegate.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void CapPlacement(); 78 void CapPlacement();
79 void CapTopBottomPlacement(CXFA_Caption caption, 79 void CapTopBottomPlacement(CXFA_Caption caption,
80 const CFX_RectF& rtWidget, 80 const CFX_RectF& rtWidget,
81 int32_t iCapPlacement); 81 int32_t iCapPlacement);
82 void CapLeftRightPlacement(CXFA_Caption caption, 82 void CapLeftRightPlacement(CXFA_Caption caption,
83 const CFX_RectF& rtWidget, 83 const CFX_RectF& rtWidget,
84 int32_t iCapPlacement); 84 int32_t iCapPlacement);
85 void SetEditScrollOffset(); 85 void SetEditScrollOffset();
86 86
87 public: 87 public:
88 virtual int32_t OnProcessMessage(CFWL_Message* pMessage); 88 virtual void OnProcessMessage(CFWL_Message* pMessage);
89 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); 89 virtual void OnProcessEvent(CFWL_Event* pEvent);
90 virtual FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, 90 virtual void OnDrawWidget(CFX_Graphics* pGraphics,
91 const CFX_Matrix* pMatrix = NULL); 91 const CFX_Matrix* pMatrix = NULL);
92 92
93 protected: 93 protected:
94 CFWL_Widget* m_pNormalWidget; 94 CFWL_Widget* m_pNormalWidget;
95 CFX_RectF m_rtUI; 95 CFX_RectF m_rtUI;
96 CFX_RectF m_rtCaption; 96 CFX_RectF m_rtCaption;
97 }; 97 };
98 98
99 #endif // XFA_FXFA_APP_XFA_FFFIELD_H_ 99 #endif // XFA_FXFA_APP_XFA_FFFIELD_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffchoicelist.cpp ('k') | xfa/fxfa/app/xfa_fffield.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698