layout/inspector/nsFontFaceList.h

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 #ifndef __nsFontFaceList_h__
michael@0 6 #define __nsFontFaceList_h__
michael@0 7
michael@0 8 #include "nsIDOMFontFaceList.h"
michael@0 9 #include "nsIDOMFontFace.h"
michael@0 10 #include "nsCOMPtr.h"
michael@0 11 #include "nsInterfaceHashtable.h"
michael@0 12 #include "nsHashKeys.h"
michael@0 13
michael@0 14 class gfxFontEntry;
michael@0 15 class gfxTextRun;
michael@0 16
michael@0 17 class nsFontFaceList : public nsIDOMFontFaceList
michael@0 18 {
michael@0 19 public:
michael@0 20 NS_DECL_ISUPPORTS
michael@0 21 NS_DECL_NSIDOMFONTFACELIST
michael@0 22
michael@0 23 nsFontFaceList();
michael@0 24 virtual ~nsFontFaceList();
michael@0 25
michael@0 26 nsresult AddFontsFromTextRun(gfxTextRun* aTextRun,
michael@0 27 uint32_t aOffset, uint32_t aLength);
michael@0 28
michael@0 29 protected:
michael@0 30 nsInterfaceHashtable<nsPtrHashKey<gfxFontEntry>,nsIDOMFontFace> mFontFaces;
michael@0 31 };
michael@0 32
michael@0 33 #endif // __nsFontFaceList_h__

mercurial