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, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e Inc. All rights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e 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 16 matching lines...) Expand all Loading... |
27 | 27 |
28 #include "CSSPropertyNames.h" | 28 #include "CSSPropertyNames.h" |
29 #include "HTMLNames.h" | 29 #include "HTMLNames.h" |
30 #include "core/css/CSSPrimitiveValue.h" | 30 #include "core/css/CSSPrimitiveValue.h" |
31 #include "core/dom/Attribute.h" | 31 #include "core/dom/Attribute.h" |
32 #include "core/dom/Document.h" | 32 #include "core/dom/Document.h" |
33 #include "core/dom/ElementData.h" | 33 #include "core/dom/ElementData.h" |
34 #include "core/dom/SpaceSplitString.h" | 34 #include "core/dom/SpaceSplitString.h" |
35 #include "core/html/CollectionType.h" | 35 #include "core/html/CollectionType.h" |
36 #include "core/page/FocusType.h" | 36 #include "core/page/FocusType.h" |
| 37 #include "platform/heap/Handle.h" |
37 #include "platform/scroll/ScrollTypes.h" | 38 #include "platform/scroll/ScrollTypes.h" |
38 | 39 |
39 namespace WebCore { | 40 namespace WebCore { |
40 | 41 |
41 class ActiveAnimations; | 42 class ActiveAnimations; |
42 class Attr; | 43 class Attr; |
43 class Attribute; | 44 class Attribute; |
44 class ClientRect; | 45 class ClientRect; |
45 class ClientRectList; | 46 class ClientRectList; |
46 class CustomElementDefinition; | 47 class CustomElementDefinition; |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 virtual int scrollTop(); | 200 virtual int scrollTop(); |
200 virtual void setScrollLeft(int); | 201 virtual void setScrollLeft(int); |
201 virtual void setScrollLeft(const Dictionary& scrollOptionsHorizontal, Except
ionState&); | 202 virtual void setScrollLeft(const Dictionary& scrollOptionsHorizontal, Except
ionState&); |
202 virtual void setScrollTop(int); | 203 virtual void setScrollTop(int); |
203 virtual void setScrollTop(const Dictionary& scrollOptionsVertical, Exception
State&); | 204 virtual void setScrollTop(const Dictionary& scrollOptionsVertical, Exception
State&); |
204 virtual int scrollWidth(); | 205 virtual int scrollWidth(); |
205 virtual int scrollHeight(); | 206 virtual int scrollHeight(); |
206 | 207 |
207 IntRect boundsInRootViewSpace(); | 208 IntRect boundsInRootViewSpace(); |
208 | 209 |
209 PassRefPtr<ClientRectList> getClientRects(); | 210 PassRefPtrWillBeRawPtr<ClientRectList> getClientRects(); |
210 PassRefPtr<ClientRect> getBoundingClientRect(); | 211 PassRefPtrWillBeRawPtr<ClientRect> getBoundingClientRect(); |
211 | 212 |
212 // Returns the absolute bounding box translated into screen coordinates: | 213 // Returns the absolute bounding box translated into screen coordinates: |
213 IntRect screenRect() const; | 214 IntRect screenRect() const; |
214 | 215 |
215 virtual void didMoveToNewDocument(Document&) OVERRIDE; | 216 virtual void didMoveToNewDocument(Document&) OVERRIDE; |
216 | 217 |
217 void removeAttribute(const AtomicString& name); | 218 void removeAttribute(const AtomicString& name); |
218 void removeAttributeNS(const AtomicString& namespaceURI, const AtomicString&
localName); | 219 void removeAttributeNS(const AtomicString& namespaceURI, const AtomicString&
localName); |
219 | 220 |
220 PassRefPtr<Attr> detachAttribute(size_t index); | 221 PassRefPtr<Attr> detachAttribute(size_t index); |
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
881 template <> inline bool isElementOfType<const thisType>(const Element& eleme
nt) { return element.predicate; } \ | 882 template <> inline bool isElementOfType<const thisType>(const Element& eleme
nt) { return element.predicate; } \ |
882 DEFINE_NODE_TYPE_CASTS(thisType, predicate) | 883 DEFINE_NODE_TYPE_CASTS(thisType, predicate) |
883 | 884 |
884 #define DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) \ | 885 #define DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) \ |
885 template <> inline bool isElementOfType<const thisType>(const Element& eleme
nt) { return is##thisType(element); } \ | 886 template <> inline bool isElementOfType<const thisType>(const Element& eleme
nt) { return is##thisType(element); } \ |
886 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(thisType) | 887 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(thisType) |
887 | 888 |
888 } // namespace | 889 } // namespace |
889 | 890 |
890 #endif | 891 #endif |
OLD | NEW |