Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: Source/core/svg/SVGFontFaceSource.h

Issue 656913006: Remove SVG fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests for landing Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SVGFontFaceSource_h
6 #define SVGFontFaceSource_h
7
8 #if ENABLE(SVG_FONTS)
9
10 #include "core/css/CSSFontFaceSource.h"
11
12 namespace blink {
13
14 class SVGFontFaceElement;
15
16 class SVGFontFaceSource : public CSSFontFaceSource {
17 public:
18 SVGFontFaceSource(SVGFontFaceElement*);
19
20 virtual void trace(Visitor*) override;
21
22 private:
23 virtual PassRefPtr<SimpleFontData> createFontData(const FontDescription&) ov erride;
24
25 RawPtrWillBeMember<SVGFontFaceElement> m_svgFontFaceElement;
26 };
27
28 } // namespace blink
29
30 #endif // ENABLE(SVG_FONTS)
31 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698