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) 2000 Simon Hausmann (hausmann@kde.org) | 4 * (C) 2000 Simon Hausmann (hausmann@kde.org) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
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 18 matching lines...) Expand all Loading... |
29 #include "bindings/v8/ScriptEventListener.h" | 29 #include "bindings/v8/ScriptEventListener.h" |
30 #include "core/css/CSSImageValue.h" | 30 #include "core/css/CSSImageValue.h" |
31 #include "core/css/CSSParser.h" | 31 #include "core/css/CSSParser.h" |
32 #include "core/css/StylePropertySet.h" | 32 #include "core/css/StylePropertySet.h" |
33 #include "core/dom/Attribute.h" | 33 #include "core/dom/Attribute.h" |
34 #include "core/dom/EventNames.h" | 34 #include "core/dom/EventNames.h" |
35 #include "core/html/HTMLFrameElementBase.h" | 35 #include "core/html/HTMLFrameElementBase.h" |
36 #include "core/html/parser/HTMLParserIdioms.h" | 36 #include "core/html/parser/HTMLParserIdioms.h" |
37 #include "core/page/Frame.h" | 37 #include "core/page/Frame.h" |
38 #include "core/page/FrameView.h" | 38 #include "core/page/FrameView.h" |
39 #include "core/page/Page.h" | |
40 | 39 |
41 namespace WebCore { | 40 namespace WebCore { |
42 | 41 |
43 using namespace HTMLNames; | 42 using namespace HTMLNames; |
44 | 43 |
45 HTMLBodyElement::HTMLBodyElement(const QualifiedName& tagName, Document* documen
t) | 44 HTMLBodyElement::HTMLBodyElement(const QualifiedName& tagName, Document* documen
t) |
46 : HTMLElement(tagName, document) | 45 : HTMLElement(tagName, document) |
47 { | 46 { |
48 ASSERT(hasTagName(bodyTag)); | 47 ASSERT(hasTagName(bodyTag)); |
49 ScriptWrappable::init(this); | 48 ScriptWrappable::init(this); |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 } | 322 } |
324 | 323 |
325 void HTMLBodyElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) const | 324 void HTMLBodyElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) const |
326 { | 325 { |
327 HTMLElement::addSubresourceAttributeURLs(urls); | 326 HTMLElement::addSubresourceAttributeURLs(urls); |
328 | 327 |
329 addSubresourceURL(urls, document()->completeURL(getAttribute(backgroundAttr)
)); | 328 addSubresourceURL(urls, document()->completeURL(getAttribute(backgroundAttr)
)); |
330 } | 329 } |
331 | 330 |
332 } // namespace WebCore | 331 } // namespace WebCore |
OLD | NEW |