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

Side by Side Diff: xfa/include/fwl/theme/widgettp.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
« no previous file with comments | « xfa/include/fwl/theme/scrollbartp.h ('k') | xfa/include/fxfa/fxfa_objectacc.h » ('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_INCLUDE_FWL_THEME_WIDGETTP_H_ 7 #ifndef XFA_INCLUDE_FWL_THEME_WIDGETTP_H_
8 #define XFA_INCLUDE_FWL_THEME_WIDGETTP_H_ 8 #define XFA_INCLUDE_FWL_THEME_WIDGETTP_H_
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "core/include/fxcrt/fx_coordinates.h"
14 #include "core/include/fxcrt/fx_system.h"
15 #include "xfa/include/fwl/core/fwl_error.h"
16 #include "xfa/include/fwl/core/fwl_theme.h"
17 #include "xfa/include/fwl/core/fwl_widget.h"
18 #include "xfa/include/fwl/theme/utils.h"
19
13 class IFWL_ThemeProvider; 20 class IFWL_ThemeProvider;
14 class IFWL_Widget; 21 class IFWL_Widget;
15 class IFDE_TextOut; 22 class IFDE_TextOut;
16 class IFX_Font; 23 class IFX_Font;
17 class IFX_FontMgr; 24 class IFX_FontMgr;
25 class CFWL_ArrowData;
26
18 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ 27 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_
19 class IFX_FontSourceEnum; 28 class IFX_FontSourceEnum;
20 #endif 29 #endif
21 class CFWL_WidgetTP;
22 class CFWL_ArrowData;
23 30
24 class CFWL_WidgetTP { 31 class CFWL_WidgetTP {
25 public: 32 public:
26 virtual FX_BOOL IsValidWidget(IFWL_Widget* pWidget); 33 virtual FX_BOOL IsValidWidget(IFWL_Widget* pWidget);
27 virtual FX_DWORD GetThemeID(IFWL_Widget* pWidget); 34 virtual FX_DWORD GetThemeID(IFWL_Widget* pWidget);
28 virtual FX_DWORD SetThemeID(IFWL_Widget* pWidget, 35 virtual FX_DWORD SetThemeID(IFWL_Widget* pWidget,
29 FX_DWORD dwThemeID, 36 FX_DWORD dwThemeID,
30 FX_BOOL bChildren = TRUE); 37 FX_BOOL bChildren = TRUE);
31 virtual FWL_ERR GetThemeMatrix(IFWL_Widget* pWidget, CFX_Matrix& matrix); 38 virtual FWL_ERR GetThemeMatrix(IFWL_Widget* pWidget, CFX_Matrix& matrix);
32 virtual FWL_ERR SetThemeMatrix(IFWL_Widget* pWidget, 39 virtual FWL_ERR SetThemeMatrix(IFWL_Widget* pWidget,
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 210
204 protected: 211 protected:
205 CFWL_FontManager(); 212 CFWL_FontManager();
206 virtual ~CFWL_FontManager(); 213 virtual ~CFWL_FontManager();
207 214
208 static CFWL_FontManager* s_FontManager; 215 static CFWL_FontManager* s_FontManager;
209 std::vector<std::unique_ptr<CFWL_FontData>> m_FontsArray; 216 std::vector<std::unique_ptr<CFWL_FontData>> m_FontsArray;
210 }; 217 };
211 218
212 #endif // XFA_INCLUDE_FWL_THEME_WIDGETTP_H_ 219 #endif // XFA_INCLUDE_FWL_THEME_WIDGETTP_H_
OLDNEW
« no previous file with comments | « xfa/include/fwl/theme/scrollbartp.h ('k') | xfa/include/fxfa/fxfa_objectacc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698