Bug 1876318 - set shipping-product for push-bundle tasks. r=bhearsum,releng-reviewers
[gecko.git] / gfx / thebes / IOSPlatformFontList.h
blob733939b7557fe34f61172847f6d0ee82b0f2069f
1 /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef IOSPlatformFontList_H_
7 #define IOSPlatformFontList_H_
9 #include <CoreFoundation/CoreFoundation.h>
11 #include "CoreTextFontList.h"
13 class IOSPlatformFontList final : public CoreTextFontList {
14 public:
15 static IOSPlatformFontList* PlatformFontList() {
16 return static_cast<IOSPlatformFontList*>(
17 gfxPlatformFontList::PlatformFontList());
20 static void LookupSystemFont(mozilla::LookAndFeel::FontID aSystemFontID,
21 nsACString& aSystemFontName,
22 gfxFontStyle& aFontStyle);
24 protected:
25 nsTArray<std::pair<const char**, uint32_t>> GetFilteredPlatformFontLists()
26 override;
28 private:
29 friend class gfxPlatformMac;
31 // Only the friend class gfxPlatformMac constructs this.
32 IOSPlatformFontList();
33 virtual ~IOSPlatformFontList();
36 #endif /* IOSPlatformFontList_H_ */