Web Font is downloaded even when all the characters in the document are outside its...
[WebKit-https.git] / Source / WebCore / platform / graphics / FontSelector.h
index 093f6e6..01f4842 100644 (file)
@@ -36,6 +36,14 @@ class FontCascadeDescription;
 class FontDescription;
 class FontSelectorClient;
 
+class FontAccessor : public RefCounted<FontAccessor> {
+public:
+    virtual ~FontAccessor() { }
+
+    virtual const Font* font() const = 0;
+    virtual bool isLoading() const = 0;
+};
+
 class FontSelector : public RefCounted<FontSelector> {
 public:
     virtual ~FontSelector() { }