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

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

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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/CSSFontFace.cpp ('k') | Source/core/css/CSSGridTemplateValue.cpp » ('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, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2010, 2011 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 12 matching lines...) Expand all
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 #include "config.h" 26 #include "config.h"
27 #include "core/css/CSSFontFaceSource.h" 27 #include "core/css/CSSFontFaceSource.h"
28 28
29 #include "RuntimeEnabledFeatures.h" 29 #include "RuntimeEnabledFeatures.h"
30 #include "core/css/CSSCustomFontData.h" 30 #include "core/css/CSSCustomFontData.h"
31 #include "core/css/CSSFontFace.h" 31 #include "core/css/CSSFontFace.h"
32 #include "core/css/CSSFontSelector.h" 32 #include "core/css/CSSFontSelector.h"
33 #include "core/fetch/FontResource.h"
34 #include "core/platform/graphics/FontCache.h" 33 #include "core/platform/graphics/FontCache.h"
35 #include "core/platform/graphics/SimpleFontData.h" 34 #include "core/platform/graphics/SimpleFontData.h"
36 #include "platform/fonts/FontDescription.h" 35 #include "platform/fonts/FontDescription.h"
37 #include "public/platform/Platform.h" 36 #include "public/platform/Platform.h"
38 #include "wtf/CurrentTime.h" 37 #include "wtf/CurrentTime.h"
39 38
40 #if ENABLE(SVG_FONTS) 39 #if ENABLE(SVG_FONTS)
41 #include "SVGNames.h" 40 #include "SVGNames.h"
42 #include "core/svg/SVGFontData.h" 41 #include "core/svg/SVGFontData.h"
43 #include "core/svg/SVGFontElement.h" 42 #include "core/svg/SVGFontElement.h"
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 if (size < 50 * 1024) 316 if (size < 50 * 1024)
318 return "WebFont.DownloadTime.1.10KBTo50KB"; 317 return "WebFont.DownloadTime.1.10KBTo50KB";
319 if (size < 100 * 1024) 318 if (size < 100 * 1024)
320 return "WebFont.DownloadTime.2.50KBTo100KB"; 319 return "WebFont.DownloadTime.2.50KBTo100KB";
321 if (size < 1024 * 1024) 320 if (size < 1024 * 1024)
322 return "WebFont.DownloadTime.3.100KBTo1MB"; 321 return "WebFont.DownloadTime.3.100KBTo1MB";
323 return "WebFont.DownloadTime.4.Over1MB"; 322 return "WebFont.DownloadTime.4.Over1MB";
324 } 323 }
325 324
326 } 325 }
OLDNEW
« no previous file with comments | « Source/core/css/CSSFontFace.cpp ('k') | Source/core/css/CSSGridTemplateValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698