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

Side by Side Diff: xfa/fwl/core/fwl_formimp.h

Issue 1886703005: Remove unused FWL methods (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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 | « no previous file | xfa/fwl/core/fwl_formimp.cpp » ('j') | xfa/fwl/core/fwl_noteimp.h » ('J')
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_FWL_CORE_FWL_FORMIMP_H_ 7 #ifndef XFA_FWL_CORE_FWL_FORMIMP_H_
8 #define XFA_FWL_CORE_FWL_FORMIMP_H_ 8 #define XFA_FWL_CORE_FWL_FORMIMP_H_
9 9
10 #include "xfa/fwl/core/fwl_panelimp.h" 10 #include "xfa/fwl/core/fwl_panelimp.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual FWL_FORMSIZE GetFormSize(); 85 virtual FWL_FORMSIZE GetFormSize();
86 virtual FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize); 86 virtual FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize);
87 virtual IFWL_Widget* DoModal(); 87 virtual IFWL_Widget* DoModal();
88 virtual IFWL_Widget* DoModal(uint32_t& dwCommandID); 88 virtual IFWL_Widget* DoModal(uint32_t& dwCommandID);
89 virtual FWL_ERR EndDoModal(); 89 virtual FWL_ERR EndDoModal();
90 virtual FWL_ERR SetBorderRegion(CFX_Path* pPath); 90 virtual FWL_ERR SetBorderRegion(CFX_Path* pPath);
91 virtual void DrawBackground(CFX_Graphics* pGraphics, 91 virtual void DrawBackground(CFX_Graphics* pGraphics,
92 IFWL_ThemeProvider* pTheme); 92 IFWL_ThemeProvider* pTheme);
93 CFWL_WidgetImp* GetSubFocus(); 93 CFWL_WidgetImp* GetSubFocus();
94 void SetSubFocus(CFWL_WidgetImp* pWidget); 94 void SetSubFocus(CFWL_WidgetImp* pWidget);
95 CFX_MapAccelerators& GetAccelerator();
96 void SetAccelerator(CFX_MapAccelerators* pAccelerators);
97 95
98 protected: 96 protected:
99 void ShowChildWidget(IFWL_Widget* pParent); 97 void ShowChildWidget(IFWL_Widget* pParent);
100 void RemoveSysButtons(); 98 void RemoveSysButtons();
101 void CalcContentRect(CFX_RectF& rtContent); 99 void CalcContentRect(CFX_RectF& rtContent);
102 CFWL_SysBtn* GetSysBtnAtPoint(FX_FLOAT fx, FX_FLOAT fy); 100 CFWL_SysBtn* GetSysBtnAtPoint(FX_FLOAT fx, FX_FLOAT fy);
103 CFWL_SysBtn* GetSysBtnByState(uint32_t dwState); 101 CFWL_SysBtn* GetSysBtnByState(uint32_t dwState);
104 CFWL_SysBtn* GetSysBtnByIndex(int32_t nIndex); 102 CFWL_SysBtn* GetSysBtnByIndex(int32_t nIndex);
105 int32_t GetSysBtnIndex(CFWL_SysBtn* pBtn); 103 int32_t GetSysBtnIndex(CFWL_SysBtn* pBtn);
106 FX_FLOAT GetCaptionHeight(); 104 FX_FLOAT GetCaptionHeight();
(...skipping 22 matching lines...) Expand all
129 FX_FLOAT fLimitMin, 127 FX_FLOAT fLimitMin,
130 FX_FLOAT fLimitMax, 128 FX_FLOAT fLimitMax,
131 FX_BOOL bLeft); 129 FX_BOOL bLeft);
132 void DoHeightLimit(FX_FLOAT& fTop, 130 void DoHeightLimit(FX_FLOAT& fTop,
133 FX_FLOAT& fHeight, 131 FX_FLOAT& fHeight,
134 FX_FLOAT fCurY, 132 FX_FLOAT fCurY,
135 FX_FLOAT fSpace, 133 FX_FLOAT fSpace,
136 FX_FLOAT fLimitMin, 134 FX_FLOAT fLimitMin,
137 FX_FLOAT fLimitMax, 135 FX_FLOAT fLimitMax,
138 FX_BOOL bTop); 136 FX_BOOL bTop);
139 CFX_MapAccelerators m_mapAccelerators; 137
140 CFX_RectF m_rtRestore; 138 CFX_RectF m_rtRestore;
141 CFX_RectF m_rtCaptionText; 139 CFX_RectF m_rtCaptionText;
142 CFX_RectF m_rtRelative; 140 CFX_RectF m_rtRelative;
143 CFX_RectF m_rtCaption; 141 CFX_RectF m_rtCaption;
144 CFX_RectF m_rtIcon; 142 CFX_RectF m_rtIcon;
145 CFWL_SysBtn* m_pCloseBox; 143 CFWL_SysBtn* m_pCloseBox;
146 CFWL_SysBtn* m_pMinBox; 144 CFWL_SysBtn* m_pMinBox;
147 CFWL_SysBtn* m_pMaxBox; 145 CFWL_SysBtn* m_pMaxBox;
148 CFWL_SysBtn* m_pCaptionBox; 146 CFWL_SysBtn* m_pCaptionBox;
149 CFWL_NoteLoop* m_pNoteLoop; 147 CFWL_NoteLoop* m_pNoteLoop;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 void OnMouseMove(CFWL_MsgMouse* pMsg); 179 void OnMouseMove(CFWL_MsgMouse* pMsg);
182 void OnMouseHover(CFWL_MsgMouse* pMsg); 180 void OnMouseHover(CFWL_MsgMouse* pMsg);
183 void OnMouseLeave(CFWL_MsgMouse* pMsg); 181 void OnMouseLeave(CFWL_MsgMouse* pMsg);
184 void OnLButtonDblClk(CFWL_MsgMouse* pMsg); 182 void OnLButtonDblClk(CFWL_MsgMouse* pMsg);
185 void OnWindowMove(CFWL_MsgWindowMove* pMsg); 183 void OnWindowMove(CFWL_MsgWindowMove* pMsg);
186 void OnClose(CFWL_MsgClose* pMsg); 184 void OnClose(CFWL_MsgClose* pMsg);
187 CFWL_FormImp* m_pOwner; 185 CFWL_FormImp* m_pOwner;
188 }; 186 };
189 187
190 #endif // XFA_FWL_CORE_FWL_FORMIMP_H_ 188 #endif // XFA_FWL_CORE_FWL_FORMIMP_H_
OLDNEW
« no previous file with comments | « no previous file | xfa/fwl/core/fwl_formimp.cpp » ('j') | xfa/fwl/core/fwl_noteimp.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698