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

Side by Side Diff: xfa/src/fxfa/src/app/xfa_ffpushbutton.h

Issue 1735833003: Remove include only fwl.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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
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_SRC_APP_XFA_FFPUSHBUTTON_H_ 7 #ifndef XFA_SRC_FXFA_SRC_APP_XFA_FFPUSHBUTTON_H_
8 #define XFA_SRC_FXFA_SRC_APP_XFA_FFPUSHBUTTON_H_ 8 #define XFA_SRC_FXFA_SRC_APP_XFA_FFPUSHBUTTON_H_
9 9
10 #include "xfa/src/fxfa/src/app/xfa_fffield.h"
11
10 #define XFA_FWL_PSBSTYLEEXT_HiliteNone (0L << 0) 12 #define XFA_FWL_PSBSTYLEEXT_HiliteNone (0L << 0)
11 #define XFA_FWL_PSBSTYLEEXT_HiliteInverted (1L << 0) 13 #define XFA_FWL_PSBSTYLEEXT_HiliteInverted (1L << 0)
12 #define XFA_FWL_PSBSTYLEEXT_HilitePush (2L << 0) 14 #define XFA_FWL_PSBSTYLEEXT_HilitePush (2L << 0)
13 #define XFA_FWL_PSBSTYLEEXT_HiliteOutLine (4L << 0) 15 #define XFA_FWL_PSBSTYLEEXT_HiliteOutLine (4L << 0)
16
14 class CXFA_FFPushButton : public CXFA_FFField { 17 class CXFA_FFPushButton : public CXFA_FFField {
15 public: 18 public:
16 CXFA_FFPushButton(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); 19 CXFA_FFPushButton(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc);
17 virtual ~CXFA_FFPushButton(); 20 virtual ~CXFA_FFPushButton();
18 virtual void RenderWidget(CFX_Graphics* pGS, 21 virtual void RenderWidget(CFX_Graphics* pGS,
19 CFX_Matrix* pMatrix = NULL, 22 CFX_Matrix* pMatrix = NULL,
20 FX_DWORD dwStatus = 0, 23 FX_DWORD dwStatus = 0,
21 int32_t iRotate = 0); 24 int32_t iRotate = 0);
22 virtual FX_BOOL LoadWidget(); 25 virtual FX_BOOL LoadWidget();
23 virtual void UnloadWidget(); 26 virtual void UnloadWidget();
(...skipping 12 matching lines...) Expand all
36 FX_ARGB GetLineColor(); 39 FX_ARGB GetLineColor();
37 FX_ARGB GetFillColor(); 40 FX_ARGB GetFillColor();
38 CXFA_TextLayout* m_pRolloverTextLayout; 41 CXFA_TextLayout* m_pRolloverTextLayout;
39 CXFA_TextLayout* m_pDownTextLayout; 42 CXFA_TextLayout* m_pDownTextLayout;
40 CXFA_TextProvider* m_pDownProvider; 43 CXFA_TextProvider* m_pDownProvider;
41 CXFA_TextProvider* m_pRollProvider; 44 CXFA_TextProvider* m_pRollProvider;
42 IFWL_WidgetDelegate* m_pOldDelegate; 45 IFWL_WidgetDelegate* m_pOldDelegate;
43 }; 46 };
44 47
45 #endif // XFA_SRC_FXFA_SRC_APP_XFA_FFPUSHBUTTON_H_ 48 #endif // XFA_SRC_FXFA_SRC_APP_XFA_FFPUSHBUTTON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698