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 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. | 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 int offsetLeft(); | 113 int offsetLeft(); |
114 int offsetTop(); | 114 int offsetTop(); |
115 int offsetWidth(); | 115 int offsetWidth(); |
116 int offsetHeight(); | 116 int offsetHeight(); |
117 | 117 |
118 Element* offsetParent(); | 118 Element* offsetParent(); |
119 int clientLeft(); | 119 int clientLeft(); |
120 int clientTop(); | 120 int clientTop(); |
121 int clientWidth(); | 121 int clientWidth(); |
122 int clientHeight(); | 122 int clientHeight(); |
123 int scrollLeft(); | |
124 int scrollTop(); | |
125 void setScrollLeft(int); | |
126 void setScrollLeft(const Dictionary& scrollOptionsHorizontal, ExceptionState
&); | |
127 void setScrollTop(int); | |
128 void setScrollTop(const Dictionary& scrollOptionsVertical, ExceptionState&); | |
129 int scrollWidth(); | |
130 int scrollHeight(); | |
131 | 123 |
132 PassRefPtr<ClientRectList> getClientRects(); | 124 PassRefPtr<ClientRectList> getClientRects(); |
133 PassRefPtr<ClientRect> getBoundingClientRect(); | 125 PassRefPtr<ClientRect> getBoundingClientRect(); |
134 | 126 |
135 virtual void didMoveToNewDocument(Document&) override; | 127 virtual void didMoveToNewDocument(Document&) override; |
136 | 128 |
137 CSSStyleDeclaration* style(); | 129 CSSStyleDeclaration* style(); |
138 | 130 |
139 const QualifiedName& tagQName() const { return m_tagName; } | 131 const QualifiedName& tagQName() const { return m_tagName; } |
140 String tagName() const { return nodeName(); } | 132 String tagName() const { return nodeName(); } |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 | 243 |
252 bool isSpellCheckingEnabled() const; | 244 bool isSpellCheckingEnabled() const; |
253 | 245 |
254 // FIXME: public for RenderTreeBuilder, we shouldn't expose this though. | 246 // FIXME: public for RenderTreeBuilder, we shouldn't expose this though. |
255 PassRefPtr<RenderStyle> styleForRenderer(); | 247 PassRefPtr<RenderStyle> styleForRenderer(); |
256 | 248 |
257 bool hasID() const; | 249 bool hasID() const; |
258 bool hasClass() const; | 250 bool hasClass() const; |
259 const SpaceSplitString& classNames() const; | 251 const SpaceSplitString& classNames() const; |
260 | 252 |
261 IntSize savedLayerScrollOffset() const; | |
262 void setSavedLayerScrollOffset(const IntSize&); | |
263 | |
264 ActiveAnimations* activeAnimations() const; | 253 ActiveAnimations* activeAnimations() const; |
265 ActiveAnimations& ensureActiveAnimations(); | 254 ActiveAnimations& ensureActiveAnimations(); |
266 bool hasActiveAnimations() const; | 255 bool hasActiveAnimations() const; |
267 | 256 |
268 void synchronizeAttribute(const AtomicString& localName) const; | 257 void synchronizeAttribute(const AtomicString& localName) const; |
269 | 258 |
270 MutableStylePropertySet& ensureMutableInlineStyle(); | 259 MutableStylePropertySet& ensureMutableInlineStyle(); |
271 void clearMutableInlineStyleIfEmpty(); | 260 void clearMutableInlineStyleIfEmpty(); |
272 | 261 |
273 void setTabIndex(int); | 262 void setTabIndex(int); |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
572 static PassRefPtr<T> create(const QualifiedName&, Document&) | 561 static PassRefPtr<T> create(const QualifiedName&, Document&) |
573 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 562 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
574 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ | 563 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ |
575 { \ | 564 { \ |
576 return adoptRef(new T(tagName, document)); \ | 565 return adoptRef(new T(tagName, document)); \ |
577 } | 566 } |
578 | 567 |
579 } // namespace | 568 } // namespace |
580 | 569 |
581 #endif // SKY_ENGINE_CORE_DOM_ELEMENT_H_ | 570 #endif // SKY_ENGINE_CORE_DOM_ELEMENT_H_ |
OLD | NEW |