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

Side by Side Diff: Source/core/css/CSSFontFaceSrcValue.cpp

Issue 18733007: core/css: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 7 years, 5 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/CSSFontFaceSrcValue.h ('k') | Source/core/css/CSSGradientValue.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, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2010 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 17 matching lines...) Expand all
28 #include "core/css/StyleSheetContents.h" 28 #include "core/css/StyleSheetContents.h"
29 #include "core/dom/Document.h" 29 #include "core/dom/Document.h"
30 #include "core/dom/Node.h" 30 #include "core/dom/Node.h"
31 #include "core/dom/WebCoreMemoryInstrumentation.h" 31 #include "core/dom/WebCoreMemoryInstrumentation.h"
32 #include "core/loader/cache/CachedFont.h" 32 #include "core/loader/cache/CachedFont.h"
33 #include "core/loader/cache/CachedResourceLoader.h" 33 #include "core/loader/cache/CachedResourceLoader.h"
34 #include "core/loader/cache/CachedResourceRequest.h" 34 #include "core/loader/cache/CachedResourceRequest.h"
35 #include "core/loader/cache/CachedResourceRequestInitiators.h" 35 #include "core/loader/cache/CachedResourceRequestInitiators.h"
36 #include "core/platform/graphics/FontCustomPlatformData.h" 36 #include "core/platform/graphics/FontCustomPlatformData.h"
37 #include "core/svg/SVGFontFaceElement.h" 37 #include "core/svg/SVGFontFaceElement.h"
38 #include <wtf/text/StringBuilder.h> 38 #include "wtf/text/StringBuilder.h"
39 39
40 namespace WebCore { 40 namespace WebCore {
41 41
42 #if ENABLE(SVG_FONTS) 42 #if ENABLE(SVG_FONTS)
43 bool CSSFontFaceSrcValue::isSVGFontFaceSrc() const 43 bool CSSFontFaceSrcValue::isSVGFontFaceSrc() const
44 { 44 {
45 return equalIgnoringCase(m_format, "svg"); 45 return equalIgnoringCase(m_format, "svg");
46 } 46 }
47 #endif 47 #endif
48 48
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); 113 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
114 info.addMember(m_resource, "resource"); 114 info.addMember(m_resource, "resource");
115 info.addMember(m_format, "format"); 115 info.addMember(m_format, "format");
116 // FIXME: add m_cachedFont when MemoryCache is instrumented. 116 // FIXME: add m_cachedFont when MemoryCache is instrumented.
117 #if ENABLE(SVG_FONTS) 117 #if ENABLE(SVG_FONTS)
118 info.addMember(m_svgFontFaceElement, "svgFontFaceElement"); 118 info.addMember(m_svgFontFaceElement, "svgFontFaceElement");
119 #endif 119 #endif
120 } 120 }
121 121
122 } 122 }
OLDNEW
« no previous file with comments | « Source/core/css/CSSFontFaceSrcValue.h ('k') | Source/core/css/CSSGradientValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698