Home
last modified time | relevance | path

Searched refs:FontFace (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/css/
DFontFace.cpp68 void resolve(PassRefPtr<FontFace> fontFace) in resolve()
72 case FontFace::Loaded: in resolve()
75 case FontFace::Error: in resolve()
101 PassRefPtr<FontFace> FontFace::create(const AtomicString& family, const String& source, const Dicti… in create()
109 RefPtr<FontFace> fontFace = adoptRef<FontFace>(new FontFace(src)); in create()
149 PassRefPtr<FontFace> FontFace::create(const StyleRuleFontFace* fontFaceRule) in create()
161 RefPtr<FontFace> fontFace = adoptRef<FontFace>(new FontFace(src)); in create()
174 FontFace::FontFace(PassRefPtr<CSSValue> src) in FontFace() function in WebCore::FontFace
181 FontFace::~FontFace() in ~FontFace()
185 String FontFace::style() const in style()
[all …]
DCSSFontFace.cpp45 RefPtr<FontFace> fontFace = FontFace::create(fontFaceRule); in createFromStyleRule()
104 if (loadStatus() == FontFace::Unloaded) in beginLoadIfNeeded()
105 setLoadStatus(FontFace::Loading); in beginLoadIfNeeded()
123 if (fontSelector->document() && loadStatus() == FontFace::Loading) { in fontLoaded()
125 setLoadStatus(FontFace::Loaded); in fontLoaded()
130 setLoadStatus(FontFace::Error); in fontLoaded()
146 … if (loadStatus() == FontFace::Unloaded && (m_sources[i]->isLoading() || m_sources[i]->isLoaded())) in getFontData()
147 setLoadStatus(FontFace::Loading); in getFontData()
148 if (loadStatus() == FontFace::Loading && m_sources[i]->isLoaded()) in getFontData()
149 setLoadStatus(FontFace::Loaded); in getFontData()
[all …]
DFontFace.h52 class FontFace : public RefCounted<FontFace> {
56 …static PassRefPtr<FontFace> create(const AtomicString& family, const String& source, const Diction…
57 static PassRefPtr<FontFace> create(const StyleRuleFontFace*);
59 ~FontFace();
90 FontFace(PassRefPtr<CSSValue> source);
112 typedef Vector<RefPtr<FontFace> > FontFaceArray;
DCSSFontFace.h47 …static PassRefPtr<CSSFontFace> create(PassRefPtr<FontFace> fontFace) { return adoptRef(new CSSFont… in create()
54 FontFace* fontFace() const { return m_fontFace.get(); } in fontFace()
98 FontFace::LoadStatus loadStatus() const { return m_fontFace->loadStatus(); } in loadStatus()
102 CSSFontFace(PassRefPtr<FontFace> fontFace) in CSSFontFace()
109 void setLoadStatus(FontFace::LoadStatus);
115 RefPtr<FontFace> m_fontFace;
DFontFaceSet.h66 Vector<RefPtr<FontFace> > match(const String& font, const String& text, ExceptionState&);
79 void beginFontLoading(FontFace*);
80 void fontLoaded(FontFace*);
81 void loadError(FontFace*);
114 void queueDoneEvent(FontFace*);
DCSSSegmentedFontFace.cpp163 if (m_fontFaces[i]->loadStatus() == FontFace::Loading) in isLoading()
173 if (m_fontFaces[i]->loadStatus() != FontFace::Loaded) in isLoaded()
190 …if (m_fontFaces[i]->loadStatus() != FontFace::Loaded && m_fontFaces[i]->ranges().intersectsWith(te… in checkFont()
200 …if (m_fontFaces[i]->loadStatus() == FontFace::Unloaded && m_fontFaces[i]->ranges().intersectsWith(… in loadFont()
217 Vector<RefPtr<FontFace> > CSSSegmentedFontFace::fontFaces(const String& text) const in fontFaces()
219 Vector<RefPtr<FontFace> > fontFaces; in fontFaces()
DFontFaceSet.cpp213 void FontFaceSet::beginFontLoading(FontFace* fontFace) in beginFontLoading()
227 void FontFaceSet::fontLoaded(FontFace* fontFace) in fontLoaded()
235 void FontFaceSet::loadError(FontFace* fontFace) in loadError()
243 void FontFaceSet::queueDoneEvent(FontFace* fontFace) in queueDoneEvent()
302 Vector<RefPtr<FontFace> > FontFaceSet::match(const String& fontString, const String& text, Exceptio… in match()
304 Vector<RefPtr<FontFace> > matchedFonts; in match()
DCSSSegmentedFontFace.h42 class FontFace; variable
70 Vector<RefPtr<FontFace> > fontFaces(const String& text) const;
DStyleRule.cpp66 case FontFace: in destroy()
106 case FontFace: in copy()
145 case FontFace: in createCSSOMWrapper()
242 : StyleRuleBase(FontFace) in StyleRuleFontFace()
DStyleRule.h46 FontFace, enumerator
59 bool isFontFaceRule() const { return type() == FontFace; } in isFontFaceRule()
284 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace);
DCSSFontFaceLoadEvent.idl36 readonly attribute FontFace[] fontfaces;
DFontFaceSet.idl44 …[RaisesException] sequence<FontFace> match(DOMString font, [Default=NullString] optional DOMString…
DFontFace.idl42 ] interface FontFace {
DStyleInvalidationAnalysis.cpp122 case StyleRule::FontFace: // If the fonts aren't in use, we could avoid recalc. in ruleAdditionMightRequireDocumentStyleRecalc()
DCSSSegmentedFontFaceCache.cpp57 FontFace* fontFace = cssFontFace->fontFace(); in add()
DStyleSheetContents.cpp459 case StyleRuleBase::FontFace: in childRulesHaveFailedOrCanceledSubresources()
/external/chromium_org/third_party/WebKit/Source/bindings/
Dmain_idl_files_list.tmp25 ../core/css/FontFace.idl
Dinterface_dependencies.target.darwin-mips.mk21 …ocumentFontFaceSet.idl $(LOCAL_PATH)/third_party/WebKit/Source/core/css/FontFace.idl $(LOCAL_PATH)…
/external/chromium_org/third_party/WebKit/Source/core/
Dcore.gypi31 'css/FontFace.idl',
754 'css/FontFace.cpp',
755 'css/FontFace.h',
Dwebcore_remaining.target.linux-arm.mk165 third_party/WebKit/Source/core/css/FontFace.cpp \
Dwebcore_remaining.target.linux-x86.mk165 third_party/WebKit/Source/core/css/FontFace.cpp \
Dwebcore_remaining.target.linux-mips.mk165 third_party/WebKit/Source/core/css/FontFace.cpp \
Dwebcore_remaining.target.darwin-arm.mk165 third_party/WebKit/Source/core/css/FontFace.cpp \
Dwebcore_remaining.target.darwin-x86.mk165 third_party/WebKit/Source/core/css/FontFace.cpp \
Dwebcore_remaining.target.darwin-mips.mk165 third_party/WebKit/Source/core/css/FontFace.cpp \

12