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

Side by Side Diff: xfa/include/fwl/lightwidget/theme.h

Issue 1672283002: Remove CFX_PtrArray from xfa/include/fwl (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 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/lightwidget/listbox.h ('k') | xfa/include/fwl/theme/widgettp.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 _FWL_THEME_LIGHT_H 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_
8 #define _FWL_THEME_LIGHT_H 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_
9
10 #include <memory>
11 #include <vector>
9 12
10 #include "xfa/include/fwl/core/fwl_theme.h" 13 #include "xfa/include/fwl/core/fwl_theme.h"
11 14
12 class CFWL_WidgetTP; 15 class CFWL_WidgetTP;
13 class IFWL_Widget; 16 class IFWL_Widget;
14 17
15 class CFWL_Theme : public IFWL_ThemeProvider { 18 class CFWL_Theme : public IFWL_ThemeProvider {
16 public: 19 public:
17 CFWL_Theme(); 20 CFWL_Theme();
18 ~CFWL_Theme() override; 21 ~CFWL_Theme() override;
(...skipping 19 matching lines...) Expand all
38 41
39 FWL_ERR Initialize(); 42 FWL_ERR Initialize();
40 FWL_ERR Finalize(); 43 FWL_ERR Finalize();
41 FWL_ERR SetFont(IFWL_Widget* pWidget, 44 FWL_ERR SetFont(IFWL_Widget* pWidget,
42 const FX_WCHAR* strFont, 45 const FX_WCHAR* strFont,
43 FX_FLOAT fFontSize, 46 FX_FLOAT fFontSize,
44 FX_ARGB rgbFont); 47 FX_ARGB rgbFont);
45 CFWL_WidgetTP* GetTheme(IFWL_Widget* pWidget); 48 CFWL_WidgetTP* GetTheme(IFWL_Widget* pWidget);
46 49
47 protected: 50 protected:
48 CFX_PtrArray m_arrThemes; 51 std::vector<std::unique_ptr<CFWL_WidgetTP>> m_ThemesArray;
49 }; 52 };
50 #endif 53
54 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_
OLDNEW
« no previous file with comments | « xfa/include/fwl/lightwidget/listbox.h ('k') | xfa/include/fwl/theme/widgettp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698