Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2006 Samuel Weinig (sam@webkit.org) | 6 * Copyright (C) 2006 Samuel Weinig (sam@webkit.org) |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 139 addString(svgFeatures, "BasicClip"); | 139 addString(svgFeatures, "BasicClip"); |
| 140 addString(svgFeatures, "Mask"); | 140 addString(svgFeatures, "Mask"); |
| 141 addString(svgFeatures, "Filter"); | 141 addString(svgFeatures, "Filter"); |
| 142 addString(svgFeatures, "BasicFilter"); | 142 addString(svgFeatures, "BasicFilter"); |
| 143 addString(svgFeatures, "DocumentEventsAttribute"); | 143 addString(svgFeatures, "DocumentEventsAttribute"); |
| 144 addString(svgFeatures, "GraphicalEventsAttribute"); | 144 addString(svgFeatures, "GraphicalEventsAttribute"); |
| 145 // addString(svgFeatures, "AnimationEventsAttribute"); | 145 // addString(svgFeatures, "AnimationEventsAttribute"); |
| 146 addString(svgFeatures, "Cursor"); | 146 addString(svgFeatures, "Cursor"); |
| 147 addString(svgFeatures, "Hyperlinking"); | 147 addString(svgFeatures, "Hyperlinking"); |
| 148 addString(svgFeatures, "XlinkAttribute"); | 148 addString(svgFeatures, "XlinkAttribute"); |
| 149 addString(svgFeatures, "ExternalResourcesRequired"); | 149 // addString(svgFeatures, "ExternalResourcesRequired"); |
|
Stephen Chennney
2013/11/06 16:45:43
Remove the line entirely, I think.
| |
| 150 addString(svgFeatures, "View"); | 150 addString(svgFeatures, "View"); |
| 151 addString(svgFeatures, "Script"); | 151 addString(svgFeatures, "Script"); |
| 152 addString(svgFeatures, "Animation"); | 152 addString(svgFeatures, "Animation"); |
| 153 #if ENABLE(SVG_FONTS) | 153 #if ENABLE(SVG_FONTS) |
| 154 addString(svgFeatures, "Font"); | 154 addString(svgFeatures, "Font"); |
| 155 addString(svgFeatures, "BasicFont"); | 155 addString(svgFeatures, "BasicFont"); |
| 156 #endif | 156 #endif |
| 157 addString(svgFeatures, "Extensibility"); | 157 addString(svgFeatures, "Extensibility"); |
| 158 initialized = true; | 158 initialized = true; |
| 159 } | 159 } |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 354 return TextDocument::create(DocumentInit(url, frame)); | 354 return TextDocument::create(DocumentInit(url, frame)); |
| 355 if (type == "image/svg+xml") | 355 if (type == "image/svg+xml") |
| 356 return SVGDocument::create(DocumentInit(url, frame)); | 356 return SVGDocument::create(DocumentInit(url, frame)); |
| 357 if (isXMLMIMEType(type)) | 357 if (isXMLMIMEType(type)) |
| 358 return Document::create(DocumentInit(url, frame)); | 358 return Document::create(DocumentInit(url, frame)); |
| 359 | 359 |
| 360 return HTMLDocument::create(DocumentInit(url, frame)); | 360 return HTMLDocument::create(DocumentInit(url, frame)); |
| 361 } | 361 } |
| 362 | 362 |
| 363 } | 363 } |
| OLD | NEW |