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, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights |
6 * reserved. | 6 * reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 } | 145 } |
146 | 146 |
147 String HTMLScriptElement::TypeAttributeValue() const { | 147 String HTMLScriptElement::TypeAttributeValue() const { |
148 return getAttribute(typeAttr).GetString(); | 148 return getAttribute(typeAttr).GetString(); |
149 } | 149 } |
150 | 150 |
151 String HTMLScriptElement::LanguageAttributeValue() const { | 151 String HTMLScriptElement::LanguageAttributeValue() const { |
152 return getAttribute(languageAttr).GetString(); | 152 return getAttribute(languageAttr).GetString(); |
153 } | 153 } |
154 | 154 |
| 155 bool HTMLScriptElement::NomoduleAttributeValue() const { |
| 156 return FastHasAttribute(nomoduleAttr); |
| 157 } |
| 158 |
155 String HTMLScriptElement::ForAttributeValue() const { | 159 String HTMLScriptElement::ForAttributeValue() const { |
156 return getAttribute(forAttr).GetString(); | 160 return getAttribute(forAttr).GetString(); |
157 } | 161 } |
158 | 162 |
159 String HTMLScriptElement::EventAttributeValue() const { | 163 String HTMLScriptElement::EventAttributeValue() const { |
160 return getAttribute(eventAttr).GetString(); | 164 return getAttribute(eventAttr).GetString(); |
161 } | 165 } |
162 | 166 |
163 String HTMLScriptElement::CrossOriginAttributeValue() const { | 167 String HTMLScriptElement::CrossOriginAttributeValue() const { |
164 return getAttribute(crossoriginAttr); | 168 return getAttribute(crossoriginAttr); |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 return new HTMLScriptElement(GetDocument(), false, loader_->AlreadyStarted(), | 239 return new HTMLScriptElement(GetDocument(), false, loader_->AlreadyStarted(), |
236 false); | 240 false); |
237 } | 241 } |
238 | 242 |
239 DEFINE_TRACE(HTMLScriptElement) { | 243 DEFINE_TRACE(HTMLScriptElement) { |
240 HTMLElement::Trace(visitor); | 244 HTMLElement::Trace(visitor); |
241 ScriptElementBase::Trace(visitor); | 245 ScriptElementBase::Trace(visitor); |
242 } | 246 } |
243 | 247 |
244 } // namespace blink | 248 } // namespace blink |
OLD | NEW |