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

Side by Side Diff: core/src/fxge/android/fx_android_font.cpp

Issue 1707923002: Expand all paths to be based off pdfium/ directory (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Sort headers 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
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 "fx_fpf.h" 7 #include "core/src/fxge/android/fx_fpf.h"
8 #if _FX_OS_ == _FX_ANDROID_ 8 #if _FX_OS_ == _FX_ANDROID_
9 CFX_AndroidFontInfo::CFX_AndroidFontInfo() : m_pFontMgr(NULL) {} 9 CFX_AndroidFontInfo::CFX_AndroidFontInfo() : m_pFontMgr(NULL) {}
10 FX_BOOL CFX_AndroidFontInfo::Init(IFPF_FontMgr* pFontMgr) { 10 FX_BOOL CFX_AndroidFontInfo::Init(IFPF_FontMgr* pFontMgr) {
11 if (!pFontMgr) { 11 if (!pFontMgr) {
12 return FALSE; 12 return FALSE;
13 } 13 }
14 pFontMgr->LoadSystemFonts(); 14 pFontMgr->LoadSystemFonts();
15 m_pFontMgr = pFontMgr; 15 m_pFontMgr = pFontMgr;
16 return TRUE; 16 return TRUE;
17 } 17 }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 void CFX_AndroidFontInfo::DeleteFont(void* hFont) { 75 void CFX_AndroidFontInfo::DeleteFont(void* hFont) {
76 if (!hFont) { 76 if (!hFont) {
77 return; 77 return;
78 } 78 }
79 ((IFPF_Font*)hFont)->Release(); 79 ((IFPF_Font*)hFont)->Release();
80 } 80 }
81 void* CFX_AndroidFontInfo::RetainFont(void* hFont) { 81 void* CFX_AndroidFontInfo::RetainFont(void* hFont) {
82 return NULL; 82 return NULL;
83 } 83 }
84 #endif 84 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698