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

Side by Side Diff: core/fxge/ge/fx_ge_linux.cpp

Issue 2377393002: Move core/fxge/include to core/fxge (Closed)
Patch Set: Rebase to master Created 4 years, 2 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 | « core/fxge/ge/fx_ge_fontmap.cpp ('k') | core/fxge/ge/fx_ge_text.cpp » ('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 _SKIA_SUPPORT_ 7 #ifndef _SKIA_SUPPORT_
8 #include "core/fxge/agg/fx_agg_driver.h" 8 #include "core/fxge/agg/fx_agg_driver.h"
9 #endif 9 #endif
10 10
11 #include <memory> 11 #include <memory>
12 12
13 #include "core/fxge/cfx_gemodule.h"
13 #include "core/fxge/ge/cfx_folderfontinfo.h" 14 #include "core/fxge/ge/cfx_folderfontinfo.h"
14 #include "core/fxge/ge/fx_text_int.h" 15 #include "core/fxge/ge/fx_text_int.h"
15 #include "core/fxge/include/cfx_gemodule.h" 16 #include "core/fxge/ifx_systemfontinfo.h"
16 #include "core/fxge/include/ifx_systemfontinfo.h"
17 17
18 #if _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_ 18 #if _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_
19 namespace { 19 namespace {
20 20
21 class CFX_LinuxFontInfo : public CFX_FolderFontInfo { 21 class CFX_LinuxFontInfo : public CFX_FolderFontInfo {
22 public: 22 public:
23 void* MapFont(int weight, 23 void* MapFont(int weight,
24 FX_BOOL bItalic, 24 FX_BOOL bItalic,
25 int charset, 25 int charset,
26 int pitch_family, 26 int pitch_family,
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 return TRUE; 160 return TRUE;
161 } 161 }
162 162
163 void CFX_GEModule::InitPlatform() { 163 void CFX_GEModule::InitPlatform() {
164 m_pFontMgr->SetSystemFontInfo( 164 m_pFontMgr->SetSystemFontInfo(
165 IFX_SystemFontInfo::CreateDefault(m_pUserFontPaths)); 165 IFX_SystemFontInfo::CreateDefault(m_pUserFontPaths));
166 } 166 }
167 167
168 void CFX_GEModule::DestroyPlatform() {} 168 void CFX_GEModule::DestroyPlatform() {}
169 #endif // _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_ 169 #endif // _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_
OLDNEW
« no previous file with comments | « core/fxge/ge/fx_ge_fontmap.cpp ('k') | core/fxge/ge/fx_ge_text.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698