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

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

Issue 2520063002: Split fwl/core class pt II. (Closed)
Patch Set: sort header Created 4 years 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 #include <utility> 10 #include <utility>
11 11
12 #include "xfa/fde/tto/fde_textout.h" 12 #include "xfa/fde/tto/fde_textout.h"
13 #include "xfa/fgas/font/cfgas_fontmgr.h"
13 #include "xfa/fgas/font/fgas_gefont.h" 14 #include "xfa/fgas/font/fgas_gefont.h"
14 #include "xfa/fgas/font/cfgas_fontmgr.h"
15 #include "xfa/fwl/core/cfwl_themebackground.h" 15 #include "xfa/fwl/core/cfwl_themebackground.h"
16 #include "xfa/fwl/core/cfwl_themepart.h" 16 #include "xfa/fwl/core/cfwl_themepart.h"
17 #include "xfa/fwl/core/cfwl_themetext.h" 17 #include "xfa/fwl/core/cfwl_themetext.h"
18 #include "xfa/fwl/core/cfwl_widgetmgr.h" 18 #include "xfa/fwl/core/cfwl_widgetmgr.h"
19 #include "xfa/fwl/core/ifwl_themeprovider.h" 19 #include "xfa/fwl/core/ifwl_themeprovider.h"
20 #include "xfa/fwl/core/ifwl_widget.h" 20 #include "xfa/fwl/core/ifwl_widget.h"
21 #include "xfa/fwl/theme/cfwl_arrowdata.h" 21 #include "xfa/fwl/theme/cfwl_arrowdata.h"
22 #include "xfa/fxgraphics/cfx_color.h" 22 #include "xfa/fxgraphics/cfx_color.h"
23 #include "xfa/fxgraphics/cfx_path.h" 23 #include "xfa/fxgraphics/cfx_path.h"
24 #include "xfa/fxgraphics/cfx_shading.h" 24 #include "xfa/fxgraphics/cfx_shading.h"
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 if (!pFontData->LoadFont(wsFontFamily, dwFontStyles, wCodePage)) 677 if (!pFontData->LoadFont(wsFontFamily, dwFontStyles, wCodePage))
678 return nullptr; 678 return nullptr;
679 m_FontsArray.push_back(std::move(pFontData)); 679 m_FontsArray.push_back(std::move(pFontData));
680 return m_FontsArray.back()->GetFont(); 680 return m_FontsArray.back()->GetFont();
681 } 681 }
682 682
683 void FWLTHEME_Release() { 683 void FWLTHEME_Release() {
684 CFWL_ArrowData::DestroyInstance(); 684 CFWL_ArrowData::DestroyInstance();
685 CFWL_FontManager::DestroyInstance(); 685 CFWL_FontManager::DestroyInstance();
686 } 686 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698