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

Side by Side Diff: xfa/fwl/theme/cfwl_widgettp.cpp

Issue 2524493002: Clean up CFGAS_GEFont (Closed)
Patch Set: Created 4 years, 1 month 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 #include "xfa/fwl/theme/cfwl_widgettp.h" 7 #include "xfa/fwl/theme/cfwl_widgettp.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "xfa/fde/tto/fde_textout.h" 11 #include "xfa/fde/tto/fde_textout.h"
12 #include "xfa/fgas/font/fgas_gefont.h" 12 #include "xfa/fgas/font/cfgas_gefont.h"
13 #include "xfa/fgas/font/cfgas_fontmgr.h" 13 #include "xfa/fgas/font/cfgas_fontmgr.h"
dsinclair 2016/11/21 21:13:55 sort
npm 2016/11/21 21:29:38 Done.
14 #include "xfa/fwl/core/cfwl_themebackground.h" 14 #include "xfa/fwl/core/cfwl_themebackground.h"
15 #include "xfa/fwl/core/cfwl_themepart.h" 15 #include "xfa/fwl/core/cfwl_themepart.h"
16 #include "xfa/fwl/core/cfwl_themetext.h" 16 #include "xfa/fwl/core/cfwl_themetext.h"
17 #include "xfa/fwl/core/cfwl_widgetmgr.h" 17 #include "xfa/fwl/core/cfwl_widgetmgr.h"
18 #include "xfa/fwl/core/ifwl_themeprovider.h" 18 #include "xfa/fwl/core/ifwl_themeprovider.h"
19 #include "xfa/fwl/core/ifwl_widget.h" 19 #include "xfa/fwl/core/ifwl_widget.h"
20 #include "xfa/fwl/theme/cfwl_arrowdata.h" 20 #include "xfa/fwl/theme/cfwl_arrowdata.h"
21 #include "xfa/fxgraphics/cfx_color.h" 21 #include "xfa/fxgraphics/cfx_color.h"
22 #include "xfa/fxgraphics/cfx_path.h" 22 #include "xfa/fxgraphics/cfx_path.h"
23 #include "xfa/fxgraphics/cfx_shading.h" 23 #include "xfa/fxgraphics/cfx_shading.h"
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 CFWL_FontManager::DestroyInstance(); 710 CFWL_FontManager::DestroyInstance();
711 } 711 }
712 712
713 uint32_t FWL_GetThemeLayout(uint32_t dwThemeID) { 713 uint32_t FWL_GetThemeLayout(uint32_t dwThemeID) {
714 return 0xffff0000 & dwThemeID; 714 return 0xffff0000 & dwThemeID;
715 } 715 }
716 716
717 uint32_t FWL_GetThemeColor(uint32_t dwThemeID) { 717 uint32_t FWL_GetThemeColor(uint32_t dwThemeID) {
718 return 0x0000ffff & dwThemeID; 718 return 0x0000ffff & dwThemeID;
719 } 719 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698