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 * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2006, 2009, 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(orientationchange); | 67 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(orientationchange); |
68 #endif | 68 #endif |
69 | 69 |
70 private: | 70 private: |
71 HTMLBodyElement(const QualifiedName&, Document*); | 71 HTMLBodyElement(const QualifiedName&, Document*); |
72 | 72 |
73 virtual bool mapToEntry(const QualifiedName&, MappedAttributeEntry&) const; | 73 virtual bool mapToEntry(const QualifiedName&, MappedAttributeEntry&) const; |
74 virtual void parseMappedAttribute(Attribute*); | 74 virtual void parseMappedAttribute(Attribute*); |
75 | 75 |
76 virtual void insertedIntoDocument(); | 76 virtual void insertedIntoDocument(); |
| 77 virtual void removedFromDocument(); |
| 78 virtual void didMoveToNewOwnerDocument(); |
77 | 79 |
78 void createLinkDecl(); | 80 void createLinkDecl(); |
79 | 81 |
80 virtual bool isURLAttribute(Attribute*) const; | 82 virtual bool isURLAttribute(Attribute*) const; |
81 | 83 |
82 virtual bool supportsFocus() const; | 84 virtual bool supportsFocus() const; |
83 | 85 |
84 virtual int scrollLeft() const; | 86 virtual int scrollLeft() const; |
85 virtual void setScrollLeft(int scrollLeft); | 87 virtual void setScrollLeft(int scrollLeft); |
86 | 88 |
87 virtual int scrollTop() const; | 89 virtual int scrollTop() const; |
88 virtual void setScrollTop(int scrollTop); | 90 virtual void setScrollTop(int scrollTop); |
89 | 91 |
90 virtual int scrollHeight() const; | 92 virtual int scrollHeight() const; |
91 virtual int scrollWidth() const; | 93 virtual int scrollWidth() const; |
92 | 94 |
93 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; | 95 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; |
94 | |
95 virtual void didMoveToNewOwnerDocument(); | |
96 | 96 |
97 RefPtr<CSSMutableStyleDeclaration> m_linkDecl; | 97 RefPtr<CSSMutableStyleDeclaration> m_linkDecl; |
98 }; | 98 }; |
99 | 99 |
100 } //namespace | 100 } //namespace |
101 | 101 |
102 #endif | 102 #endif |
OLD | NEW |