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

Side by Side Diff: Source/core/css/CSSFontFace.h

Issue 17480002: Remove unused includes from core/accessibility, core/css and core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased ; update <wtf/Foo.h> to "wtf/Foo.h" in changed files Created 7 years, 6 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
« no previous file with comments | « Source/core/css/CSSFilterValue.h ('k') | Source/core/css/CSSFontFaceLoadEvent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef CSSFontFace_h 26 #ifndef CSSFontFace_h
27 #define CSSFontFace_h 27 #define CSSFontFace_h
28 28
29 #include "core/css/CSSFontFaceRule.h" 29 #include "core/css/CSSFontFaceRule.h"
30 #include "core/css/CSSFontFaceSource.h" 30 #include "core/css/CSSFontFaceSource.h"
31 #include "core/platform/graphics/FontTraitsMask.h" 31 #include "core/platform/graphics/FontTraitsMask.h"
32 #include <wtf/Forward.h> 32 #include "wtf/Forward.h"
33 #include <wtf/HashSet.h> 33 #include "wtf/HashSet.h"
34 #include <wtf/PassRefPtr.h> 34 #include "wtf/PassRefPtr.h"
35 #include <wtf/RefCounted.h> 35 #include "wtf/RefCounted.h"
36 #include <wtf/unicode/Unicode.h> 36 #include "wtf/Vector.h"
37 #include <wtf/Vector.h>
38 37
39 namespace WebCore { 38 namespace WebCore {
40 39
41 class CSSSegmentedFontFace; 40 class CSSSegmentedFontFace;
42 class FontDescription; 41 class FontDescription;
43 class SimpleFontData; 42 class SimpleFontData;
44 43
45 class CSSFontFace : public RefCounted<CSSFontFace> { 44 class CSSFontFace : public RefCounted<CSSFontFace> {
46 public: 45 public:
47 static PassRefPtr<CSSFontFace> create(FontTraitsMask traitsMask, PassRefPtr< CSSFontFaceRule> rule, bool isLocalFallback = false) { return adoptRef(new CSSFo ntFace(traitsMask, rule, isLocalFallback)); } 46 static PassRefPtr<CSSFontFace> create(FontTraitsMask traitsMask, PassRefPtr< CSSFontFaceRule> rule, bool isLocalFallback = false) { return adoptRef(new CSSFo ntFace(traitsMask, rule, isLocalFallback)); }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 Vector<OwnPtr<CSSFontFaceSource> > m_sources; 106 Vector<OwnPtr<CSSFontFaceSource> > m_sources;
108 CSSFontFaceSource* m_activeSource; 107 CSSFontFaceSource* m_activeSource;
109 bool m_isLocalFallback; 108 bool m_isLocalFallback;
110 LoadState m_loadState; 109 LoadState m_loadState;
111 RefPtr<CSSFontFaceRule> m_rule; 110 RefPtr<CSSFontFaceRule> m_rule;
112 }; 111 };
113 112
114 } 113 }
115 114
116 #endif 115 #endif
OLDNEW
« no previous file with comments | « Source/core/css/CSSFilterValue.h ('k') | Source/core/css/CSSFontFaceLoadEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698