| 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) 2003, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2010 Apple Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "core/dom/Document.h" | 26 #include "core/dom/Document.h" |
| 27 #include "core/dom/ElementTraversal.h" | 27 #include "core/dom/ElementTraversal.h" |
| 28 #include "core/frame/LocalFrame.h" | 28 #include "core/frame/LocalFrame.h" |
| 29 #include "core/frame/Settings.h" | 29 #include "core/frame/Settings.h" |
| 30 #include "core/html/HTMLHeadElement.h" | 30 #include "core/html/HTMLHeadElement.h" |
| 31 #include "core/html/parser/HTMLParserIdioms.h" | 31 #include "core/html/parser/HTMLParserIdioms.h" |
| 32 #include "core/inspector/ConsoleMessage.h" | 32 #include "core/inspector/ConsoleMessage.h" |
| 33 #include "core/loader/FrameLoaderClient.h" | 33 #include "core/loader/FrameLoaderClient.h" |
| 34 #include "core/loader/HttpEquiv.h" | 34 #include "core/loader/HttpEquiv.h" |
| 35 #include "platform/RuntimeEnabledFeatures.h" | 35 #include "platform/RuntimeEnabledFeatures.h" |
| 36 #include "wtf/text/StringToNumber.h" |
| 36 | 37 |
| 37 namespace blink { | 38 namespace blink { |
| 38 | 39 |
| 39 #define DEFINE_ARRAY_FOR_MATCHING(name, source, maxMatchLength) \ | 40 #define DEFINE_ARRAY_FOR_MATCHING(name, source, maxMatchLength) \ |
| 40 const UChar* name; \ | 41 const UChar* name; \ |
| 41 const unsigned uMaxMatchLength = maxMatchLength; \ | 42 const unsigned uMaxMatchLength = maxMatchLength; \ |
| 42 UChar characterBuffer[uMaxMatchLength]; \ | 43 UChar characterBuffer[uMaxMatchLength]; \ |
| 43 if (!source.is8Bit()) { \ | 44 if (!source.is8Bit()) { \ |
| 44 name = source.characters16(); \ | 45 name = source.characters16(); \ |
| 45 } else { \ | 46 } else { \ |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 { | 514 { |
| 514 return getAttribute(http_equivAttr); | 515 return getAttribute(http_equivAttr); |
| 515 } | 516 } |
| 516 | 517 |
| 517 const AtomicString& HTMLMetaElement::name() const | 518 const AtomicString& HTMLMetaElement::name() const |
| 518 { | 519 { |
| 519 return getNameAttribute(); | 520 return getNameAttribute(); |
| 520 } | 521 } |
| 521 | 522 |
| 522 } | 523 } |
| OLD | NEW |