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

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

Issue 1427633010: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 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
« no previous file with comments | « core/src/fxge/ge/fx_ge_fontmap.cpp ('k') | core/src/fxge/ge/fx_ge_path.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 #include "../../../include/fxge/fx_ge.h" 7 #include "core/include/fxge/fx_ge.h"
8 #include "../agg/include/fx_agg_driver.h" 8 #include "core/src/fxge/agg/include/fx_agg_driver.h"
9 #include "text_int.h" 9 #include "text_int.h"
10 10
11 #if _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_ 11 #if _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_
12 class CFX_LinuxFontInfo : public CFX_FolderFontInfo { 12 class CFX_LinuxFontInfo : public CFX_FolderFontInfo {
13 public: 13 public:
14 void* MapFont(int weight, 14 void* MapFont(int weight,
15 FX_BOOL bItalic, 15 FX_BOOL bItalic,
16 int charset, 16 int charset,
17 int pitch_family, 17 int pitch_family,
18 const FX_CHAR* family, 18 const FX_CHAR* family,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 AddPath(*pPath); 138 AddPath(*pPath);
139 } 139 }
140 return TRUE; 140 return TRUE;
141 } 141 }
142 void CFX_GEModule::InitPlatform() { 142 void CFX_GEModule::InitPlatform() {
143 m_pFontMgr->SetSystemFontInfo( 143 m_pFontMgr->SetSystemFontInfo(
144 IFX_SystemFontInfo::CreateDefault(m_pUserFontPaths)); 144 IFX_SystemFontInfo::CreateDefault(m_pUserFontPaths));
145 } 145 }
146 void CFX_GEModule::DestroyPlatform() {} 146 void CFX_GEModule::DestroyPlatform() {}
147 #endif // _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_ 147 #endif // _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_
OLDNEW
« no previous file with comments | « core/src/fxge/ge/fx_ge_fontmap.cpp ('k') | core/src/fxge/ge/fx_ge_path.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698