| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 || feature.startsWith("org.w3c.svg", false)) { | 166 || feature.startsWith("org.w3c.svg", false)) { |
| 167 // FIXME: SVG 2.0 support? | 167 // FIXME: SVG 2.0 support? |
| 168 return isSupportedSVG10Feature(feature, version) || isSupportedSVG11Feat
ure(feature, version); | 168 return isSupportedSVG10Feature(feature, version) || isSupportedSVG11Feat
ure(feature, version); |
| 169 } | 169 } |
| 170 return true; | 170 return true; |
| 171 } | 171 } |
| 172 | 172 |
| 173 bool DOMImplementation::hasFeatureForBindings(const String& feature, const Strin
g& version) | 173 bool DOMImplementation::hasFeatureForBindings(const String& feature, const Strin
g& version) |
| 174 { | 174 { |
| 175 if (!hasFeature(feature, version)) { | 175 if (!hasFeature(feature, version)) { |
| 176 UseCounter::count(m_document, UseCounter::DOMImplementationHasFeatureRet
urnFalse); | 176 UseCounter::countDeprecation(m_document, UseCounter::DOMImplementationHa
sFeatureReturnFalse); |
| 177 return false; | 177 return false; |
| 178 } | 178 } |
| 179 return true; | 179 return true; |
| 180 } | 180 } |
| 181 | 181 |
| 182 PassRefPtrWillBeRawPtr<DocumentType> DOMImplementation::createDocumentType(const
AtomicString& qualifiedName, | 182 PassRefPtrWillBeRawPtr<DocumentType> DOMImplementation::createDocumentType(const
AtomicString& qualifiedName, |
| 183 const String& publicId, const String& systemId, ExceptionState& exceptionSta
te) | 183 const String& publicId, const String& systemId, ExceptionState& exceptionSta
te) |
| 184 { | 184 { |
| 185 AtomicString prefix, localName; | 185 AtomicString prefix, localName; |
| 186 if (!Document::parseQualifiedName(qualifiedName, prefix, localName, exceptio
nState)) | 186 if (!Document::parseQualifiedName(qualifiedName, prefix, localName, exceptio
nState)) |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 | 374 |
| 375 return HTMLDocument::create(init); | 375 return HTMLDocument::create(init); |
| 376 } | 376 } |
| 377 | 377 |
| 378 void DOMImplementation::trace(Visitor* visitor) | 378 void DOMImplementation::trace(Visitor* visitor) |
| 379 { | 379 { |
| 380 visitor->trace(m_document); | 380 visitor->trace(m_document); |
| 381 } | 381 } |
| 382 | 382 |
| 383 } | 383 } |
| OLD | NEW |