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

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

Issue 1943413002: Convert FWL_ERR into an enum class. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@bcdattribute
Patch Set: Mac XFA build 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
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/fwl_sdadapterimp.h" 10 #include "xfa/fwl/core/fwl_sdadapterimp.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void CapTopBottomPlacement(CXFA_Caption caption, 80 void CapTopBottomPlacement(CXFA_Caption caption,
81 const CFX_RectF& rtWidget, 81 const CFX_RectF& rtWidget,
82 int32_t iCapPlacement); 82 int32_t iCapPlacement);
83 void CapLeftRightPlacement(CXFA_Caption caption, 83 void CapLeftRightPlacement(CXFA_Caption caption,
84 const CFX_RectF& rtWidget, 84 const CFX_RectF& rtWidget,
85 int32_t iCapPlacement); 85 int32_t iCapPlacement);
86 void SetEditScrollOffset(); 86 void SetEditScrollOffset();
87 87
88 public: 88 public:
89 virtual int32_t OnProcessMessage(CFWL_Message* pMessage); 89 virtual int32_t OnProcessMessage(CFWL_Message* pMessage);
90 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); 90 virtual FWL_Error OnProcessEvent(CFWL_Event* pEvent);
91 virtual FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, 91 virtual FWL_Error 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_FXFA_APP_XFA_FFFIELD_H_ 100 #endif // XFA_FXFA_APP_XFA_FFFIELD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698