Searched refs:FontDescription (Results 1 - 25 of 100) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DFontBuilder.h28 #include "platform/fonts/FontDescription.h"
53 void inheritFrom(const FontDescription&);
57 void setFontFamilyInherit(const FontDescription&);
61 void setSize(const FontDescription::Size&);
67 void setVariantLigatures(const FontDescription::VariantLigatures&);
69 void setKerning(FontDescription::Kerning);
83 static FontDescription::GenericFamilyType initialGenericFamily() { return FontDescription::NoFamily; }
84 static FontDescription::Size initialSize() { return FontDescription
[all...]
H A DFontBuilder.cpp33 #include "platform/fonts/FontDescription.h"
49 void reset() { m_fontDescription = FontDescription(); }
50 void set(const FontDescription& fontDescription) { m_fontDescription = fontDescription; }
51 FontDescription& fontDescription() { return m_fontDescription; }
60 FontDescription m_fontDescription;
78 inline static void setFontFamilyToStandard(FontDescription& fontDescription, const Document* document)
83 fontDescription.setGenericFamily(FontDescription::StandardFamily);
106 void FontBuilder::inheritFrom(const FontDescription& fontDescription)
122 FontDescription fontDescription;
147 void FontBuilder::setFontFamilyInherit(const FontDescription
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderThemeChromiumFontProvider.h33 class FontDescription;
37 static void systemFont(CSSValueID, FontDescription&);
H A DRenderThemeChromiumFontProviderWin.cpp30 #include "platform/fonts/FontDescription.h"
44 static FontDescription& smallSystemFont()
46 DEFINE_STATIC_LOCAL(FontDescription, font, ());
50 static FontDescription& menuFont()
52 DEFINE_STATIC_LOCAL(FontDescription, font, ());
56 static FontDescription& labelFont()
58 DEFINE_STATIC_LOCAL(FontDescription, font, ());
121 void RenderThemeChromiumFontProvider::systemFont(CSSValueID valueID, FontDescription& fontDescription)
124 FontDescription* cachedDesc = 0;
174 cachedDesc->setGenericFamily(FontDescription
[all...]
H A DRenderThemeChromiumFontProviderLinux.cpp30 #include "platform/fonts/FontDescription.h"
44 void RenderThemeChromiumFontProvider::systemFont(CSSValueID valueID, FontDescription& fontDescription)
66 fontDescription.setGenericFamily(FontDescription::NoFamily);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontSelector.h37 class FontDescription;
42 virtual PassRefPtr<FontData> getFontData(const FontDescription&, const AtomicString& familyName) = 0;
43 virtual void willUseFontData(const FontDescription&, const AtomicString& familyName, UChar32) = 0;
H A DFontDescription.cpp31 #include "platform/fonts/FontDescription.h"
49 COMPILE_ASSERT(sizeof(FontDescription) == sizeof(SameSizeAsFontDescription), FontDescription_should_stay_small);
51 TypesettingFeatures FontDescription::s_defaultTypesettingFeatures = 0;
53 bool FontDescription::s_useSubpixelTextPositioning = false;
55 FontWeight FontDescription::lighterWeight(FontWeight weight)
77 FontWeight FontDescription::bolderWeight(FontWeight weight)
99 FontDescription::Size FontDescription::largerSize(const Size& size)
104 FontDescription::Size FontDescription
[all...]
H A DFontFallbackList.h33 class FontDescription;
68 bool isFixedPitch(const FontDescription& fontDescription) const
74 void determinePitch(const FontDescription&) const;
86 const SimpleFontData* primarySimpleFontData(const FontDescription& fontDescription)
93 const FontData* fontDataAt(const FontDescription&, unsigned index) const;
111 PassRefPtr<FontData> getFontData(const FontDescription&, int& familyIndex) const;
113 const SimpleFontData* determinePrimarySimpleFontData(const FontDescription&) const;
H A DFontCache.h63 class FontDescription;
81 PassRefPtr<SimpleFontData> fallbackFontForCharacter(const FontDescription&, UChar32, const SimpleFontData* fontDataToSubstitute);
86 PassRefPtr<SimpleFontData> getFontData(const FontDescription&, const AtomicString&, bool checkingAlternateName = false, ShouldRetain = Retain);
87 PassRefPtr<SimpleFontData> getLastResortFallbackFont(const FontDescription&, ShouldRetain = Retain);
88 SimpleFontData* getNonRetainedLastResortFallbackFont(const FontDescription&);
89 bool isPlatformFontAvailable(const FontDescription&, const AtomicString&);
100 PassRefPtr<SimpleFontData> fontDataFromDescriptionAndLogFont(const FontDescription&, ShouldRetain, const LOGFONT&, wchar_t* outFontFamilyName);
121 static AtomicString getGenericFamilyNameForScript(const AtomicString& familyName, const FontDescription&);
149 FontPlatformData* getFontPlatformData(const FontDescription&, const FontFaceCreationParams&, bool checkingAlternateName = false);
152 FontPlatformData* createFontPlatformData(const FontDescription
[all...]
H A DFontCacheTest.cpp8 #include "platform/fonts/FontDescription.h"
31 FontDescription fontDescription;
32 fontDescription.setGenericFamily(FontDescription::StandardFamily);
36 fontDescription.setGenericFamily(FontDescription::SansSerifFamily);
H A DAlternateFontFamily.h34 #include "platform/fonts/FontDescription.h"
109 inline const AtomicString getFallbackFontFamily(const FontDescription& description)
118 case FontDescription::SansSerifFamily:
120 case FontDescription::SerifFamily:
122 case FontDescription::MonospaceFamily:
124 case FontDescription::CursiveFamily:
126 case FontDescription::FantasyFamily:
/external/chromium_org/third_party/WebKit/Source/platform/
H A DTheme.cpp31 LengthBox Theme::controlBorder(ControlPart part, const FontDescription&, const LengthBox& zoomedBox, float) const argument
45 LengthBox Theme::controlPadding(ControlPart part, const FontDescription&, const LengthBox& zoomedBox, float) const argument
H A DTheme.h33 #include "platform/fonts/FontDescription.h"
81 virtual FontDescription controlFont(ControlPart, const FontDescription& fontDescription, float /*zoomFactor*/) const { return fontDescription; }
84 virtual LengthSize controlSize(ControlPart, const FontDescription&, const LengthSize& zoomedSize, float /*zoomFactor*/) const { return zoomedSize; } argument
87 virtual LengthSize minimumControlSize(ControlPart, const FontDescription&, float /*zoomFactor*/) const { return LengthSize(Length(0, Fixed), Length(0, Fixed)); } argument
90 virtual LengthBox controlPadding(ControlPart, const FontDescription&, const LengthBox& zoomedBox, float zoomFactor) const;
91 virtual LengthBox controlBorder(ControlPart, const FontDescription&, const LengthBox& zoomedBox, float zoomFactor) const;
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSFontFaceSource.h36 class FontDescription;
51 PassRefPtr<SimpleFontData> getFontData(const FontDescription&);
53 virtual bool isLocalFontAvailable(const FontDescription&) { return false; } argument
63 virtual PassRefPtr<SimpleFontData> createFontData(const FontDescription&) = 0;
H A DLocalFontFaceSource.cpp9 #include "platform/fonts/FontDescription.h"
15 bool LocalFontFaceSource::isLocalFontAvailable(const FontDescription& fontDescription)
20 PassRefPtr<SimpleFontData> LocalFontFaceSource::createFontData(const FontDescription& fontDescription)
H A DLocalFontFaceSource.h17 virtual bool isLocalFontAvailable(const FontDescription&) OVERRIDE;
20 virtual PassRefPtr<SimpleFontData> createFontData(const FontDescription&) OVERRIDE;
H A DBinaryDataFontFaceSource.h23 virtual PassRefPtr<SimpleFontData> createFontData(const FontDescription&) OVERRIDE;
H A DCSSFontSelector.h42 class FontDescription;
54 virtual PassRefPtr<FontData> getFontData(const FontDescription&, const AtomicString&) OVERRIDE;
55 virtual void willUseFontData(const FontDescription&, const AtomicString& family, UChar32) OVERRIDE;
56 bool isPlatformFontAvailable(const FontDescription&, const AtomicString& family);
H A DFontFaceCache.h41 class FontDescription;
59 // but this function uses FontDescription/family pair.
60 CSSSegmentedFontFace* get(const FontDescription&, const AtomicString& family);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/android/
H A DFontCacheAndroidTest.cpp19 FontDescription fontDescription;
21 fontDescription.setGenericFamily(FontDescription::StandardFamily);
/external/chromium_org/third_party/WebKit/Source/platform/mac/
H A DThemeMac.h44 virtual FontDescription controlFont(ControlPart, const FontDescription&, float zoomFactor) const;
46 virtual LengthSize controlSize(ControlPart, const FontDescription&, const LengthSize&, float zoomFactor) const;
47 virtual LengthSize minimumControlSize(ControlPart, const FontDescription&, float zoomFactor) const;
49 virtual LengthBox controlPadding(ControlPart, const FontDescription&, const LengthBox& zoomedBox, float zoomFactor) const;
50 virtual LengthBox controlBorder(ControlPart, const FontDescription&, const LengthBox& zoomedBox, float zoomFactor) const;
/external/chromium_org/third_party/WebKit/public/web/
H A DWebFontDescription.h38 class FontDescription;
96 WebFontDescription(const FontDescription&);
97 operator FontDescription() const;
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFontFaceSource.h23 virtual PassRefPtr<SimpleFontData> createFontData(const FontDescription&) OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
H A DFontFallbackWin.h35 #include "platform/fonts/FontDescription.h"
50 FontDescription::GenericFamilyType,
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebFontDescription.cpp34 #include "platform/fonts/FontDescription.h"
38 WebFontDescription::WebFontDescription(const FontDescription& desc)
51 WebFontDescription::operator FontDescription() const
56 FontDescription desc;
58 desc.setGenericFamily(static_cast<FontDescription::GenericFamilyType>(genericFamily));

Completed in 5783 milliseconds

1234