зеркало из https://github.com/mozilla/gecko-dev.git
bug 1180010 make some methods protected and non-virtual r=jdaggett
--HG-- extra : rebase_source : 6fa2c2e7b13d516f629c833608dcdfce4eb6ce77
This commit is contained in:
Родитель
41e62ce1ec
Коммит
31cb4902f1
|
@ -831,18 +831,6 @@ public:
|
|||
int32_t aRunScript, gfxFont *aPrevMatchedFont,
|
||||
uint8_t *aMatchType);
|
||||
|
||||
// search through pref fonts for a character, return nullptr if no matching pref font
|
||||
virtual already_AddRefed<gfxFont> WhichPrefFontSupportsChar(uint32_t aCh);
|
||||
|
||||
already_AddRefed<gfxFont>
|
||||
WhichSystemFontSupportsChar(uint32_t aCh, uint32_t aNextCh,
|
||||
int32_t aRunScript);
|
||||
|
||||
template<typename T>
|
||||
void ComputeRanges(nsTArray<gfxTextRange>& mRanges,
|
||||
const T *aString, uint32_t aLength,
|
||||
int32_t aRunScript, uint16_t aOrientation);
|
||||
|
||||
gfxUserFontSet* GetUserFontSet();
|
||||
|
||||
// With downloadable fonts, the composition of the font group can change as fonts are downloaded
|
||||
|
@ -891,6 +879,18 @@ public:
|
|||
nsTArray<nsString>& aGenericFamilies);
|
||||
|
||||
protected:
|
||||
// search through pref fonts for a character, return nullptr if no matching pref font
|
||||
already_AddRefed<gfxFont> WhichPrefFontSupportsChar(uint32_t aCh);
|
||||
|
||||
already_AddRefed<gfxFont>
|
||||
WhichSystemFontSupportsChar(uint32_t aCh, uint32_t aNextCh,
|
||||
int32_t aRunScript);
|
||||
|
||||
template<typename T>
|
||||
void ComputeRanges(nsTArray<gfxTextRange>& mRanges,
|
||||
const T *aString, uint32_t aLength,
|
||||
int32_t aRunScript, uint16_t aOrientation);
|
||||
|
||||
class FamilyFace {
|
||||
public:
|
||||
FamilyFace() : mFamily(nullptr), mFontEntry(nullptr),
|
||||
|
|
Загрузка…
Ссылка в новой задаче