blob: 2a2e7ed062ac21f9771d9de8418870a3b5c90592 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FontFaceSource_h
#define FontFaceSource_h
#include "base/memory/scoped_refptr.h"
#include "platform/heap/Handle.h"
#include "platform/wtf/Allocator.h"
namespace blink {
class Document;
class FontFaceSet;
class WorkerGlobalScope;
class FontFaceSource {
STATIC_ONLY(FontFaceSource);
public:
static FontFaceSet* fonts(Document&);
static FontFaceSet* fonts(WorkerGlobalScope&);
};
} // namespace blink
#endif // FontFaceSource_h