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

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

Issue 1825953002: Move core/include/fxcrt to core/fxcrt/include. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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/android/fx_android_font.h ('k') | core/fxge/android/fx_android_imp.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 "core/include/fxcrt/fx_system.h" 7 #include "core/fxcrt/include/fx_system.h"
8 8
9 #if _FX_OS_ == _FX_ANDROID_ 9 #if _FX_OS_ == _FX_ANDROID_
10 10
11 #include "core/fxge/android/fx_android_font.h" 11 #include "core/fxge/android/fx_android_font.h"
12 #include "core/include/fxge/fpf.h" 12 #include "core/include/fxge/fpf.h"
13 13
14 CFX_AndroidFontInfo::CFX_AndroidFontInfo() : m_pFontMgr(NULL) {} 14 CFX_AndroidFontInfo::CFX_AndroidFontInfo() : m_pFontMgr(NULL) {}
15 FX_BOOL CFX_AndroidFontInfo::Init(IFPF_FontMgr* pFontMgr) { 15 FX_BOOL CFX_AndroidFontInfo::Init(IFPF_FontMgr* pFontMgr) {
16 if (!pFontMgr) { 16 if (!pFontMgr) {
17 return FALSE; 17 return FALSE;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void CFX_AndroidFontInfo::DeleteFont(void* hFont) { 80 void CFX_AndroidFontInfo::DeleteFont(void* hFont) {
81 if (!hFont) { 81 if (!hFont) {
82 return; 82 return;
83 } 83 }
84 ((IFPF_Font*)hFont)->Release(); 84 ((IFPF_Font*)hFont)->Release();
85 } 85 }
86 void* CFX_AndroidFontInfo::RetainFont(void* hFont) { 86 void* CFX_AndroidFontInfo::RetainFont(void* hFont) {
87 return NULL; 87 return NULL;
88 } 88 }
89 #endif 89 #endif
OLDNEW
« no previous file with comments | « core/fxge/android/fx_android_font.h ('k') | core/fxge/android/fx_android_imp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698