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

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

Issue 52773004: Move Glyph related classes to platform/fonts (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Merge gypi Created 7 years, 1 month 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/core.gypi ('k') | Source/core/fetch/FontResource.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, 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 15 matching lines...) Expand all
26 #include "config.h" 26 #include "config.h"
27 #include "core/css/CSSFontFaceSrcValue.h" 27 #include "core/css/CSSFontFaceSrcValue.h"
28 28
29 #include "FetchInitiatorTypeNames.h" 29 #include "FetchInitiatorTypeNames.h"
30 #include "core/css/StyleSheetContents.h" 30 #include "core/css/StyleSheetContents.h"
31 #include "core/dom/Document.h" 31 #include "core/dom/Document.h"
32 #include "core/dom/Node.h" 32 #include "core/dom/Node.h"
33 #include "core/fetch/FetchRequest.h" 33 #include "core/fetch/FetchRequest.h"
34 #include "core/fetch/FontResource.h" 34 #include "core/fetch/FontResource.h"
35 #include "core/fetch/ResourceFetcher.h" 35 #include "core/fetch/ResourceFetcher.h"
36 #include "core/platform/graphics/FontCustomPlatformData.h"
37 #include "core/svg/SVGFontFaceElement.h" 36 #include "core/svg/SVGFontFaceElement.h"
37 #include "platform/fonts/FontCustomPlatformData.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
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 } 102 }
103 return m_fetched.get(); 103 return m_fetched.get();
104 } 104 }
105 105
106 bool CSSFontFaceSrcValue::equals(const CSSFontFaceSrcValue& other) const 106 bool CSSFontFaceSrcValue::equals(const CSSFontFaceSrcValue& other) const
107 { 107 {
108 return m_isLocal == other.m_isLocal && m_format == other.m_format && m_resou rce == other.m_resource; 108 return m_isLocal == other.m_isLocal && m_format == other.m_format && m_resou rce == other.m_resource;
109 } 109 }
110 110
111 } 111 }
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/fetch/FontResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698