webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <FontFace.h>
Classes | |
struct | Descriptors |
Public Types | |
enum | LoadStatus { LoadStatus::Unloaded, LoadStatus::Loading, LoadStatus::Loaded, LoadStatus::Error } |
using | Source = Variant< String, RefPtr< JSC::ArrayBuffer >, RefPtr< JSC::ArrayBufferView > > |
using | Promise = DOMPromise< IDLInterface< FontFace > > |
Static Public Member Functions | |
static ExceptionOr< Ref< FontFace > > | create (Document &, const String &family, Source &&, const Descriptors &) |
static Ref< FontFace > | create (CSSFontFace &) |
static RefPtr< CSSValue > | parseString (const String &, CSSPropertyID) |
Additional Inherited Members | |
Protected Member Functions inherited from WTF::RefCounted< FontFace > | |
RefCounted () | |
RefCounted () | |
RefCounted () | |
~RefCounted () | |
~RefCounted () | |
~RefCounted () | |
Protected Member Functions inherited from WTF::RefCountedBase | |
RefCountedBase () | |
~RefCountedBase () | |
bool | derefBase () const |
bool | deletionHasBegun () const |
RefCountedBase () | |
~RefCountedBase () | |
bool | derefBase () const |
bool | deletionHasBegun () const |
RefCountedBase () | |
~RefCountedBase () | |
bool | derefBase () const |
bool | deletionHasBegun () const |
using WebCore::FontFace::Promise = DOMPromise<IDLInterface<FontFace> > |
using WebCore::FontFace::Source = Variant<String, RefPtr<JSC::ArrayBuffer>, RefPtr<JSC::ArrayBufferView> > |
|
virtual |
void FontFace::adopt | ( | CSSFontFace & | newFace | ) |
|
inline |
|
static |
|
static |
|
inlinefinalvirtual |
Implements WebCore::CSSFontFace::Client.
String FontFace::family | ( | ) | const |
String FontFace::featureSettings | ( | ) | const |
|
finalvirtual |
Reimplemented from WebCore::CSSFontFace::Client.
void FontFace::load | ( | ) |
|
static |
|
inline |
|
inlinefinalvirtual |
Implements WebCore::CSSFontFace::Client.
ExceptionOr< void > FontFace::setFamily | ( | const String & | family | ) |
ExceptionOr< void > FontFace::setFeatureSettings | ( | const String & | featureSettings | ) |
ExceptionOr< void > FontFace::setStretch | ( | const String & | stretch | ) |
ExceptionOr< void > FontFace::setStyle | ( | const String & | style | ) |
ExceptionOr< void > FontFace::setUnicodeRange | ( | const String & | unicodeRange | ) |
ExceptionOr< void > FontFace::setVariant | ( | const String & | variant | ) |
ExceptionOr< void > FontFace::setWeight | ( | const String & | weight | ) |
auto FontFace::status | ( | ) | const |
String FontFace::stretch | ( | ) | const |
String FontFace::style | ( | ) | const |
String FontFace::unicodeRange | ( | ) | const |
String FontFace::variant | ( | ) | const |
String FontFace::weight | ( | ) | const |