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 12 matching lines...) Expand all Loading... |
23 */ | 23 */ |
24 | 24 |
25 #ifndef Element_h | 25 #ifndef Element_h |
26 #define Element_h | 26 #define Element_h |
27 | 27 |
28 #include "core/CSSPropertyNames.h" | 28 #include "core/CSSPropertyNames.h" |
29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
30 #include "core/HTMLNames.h" | 30 #include "core/HTMLNames.h" |
31 #include "core/css/CSSPrimitiveValue.h" | 31 #include "core/css/CSSPrimitiveValue.h" |
32 #include "core/css/CSSSelector.h" | 32 #include "core/css/CSSSelector.h" |
| 33 #include "core/css/StylePropertySet.h" |
33 #include "core/dom/AXObjectCache.h" | 34 #include "core/dom/AXObjectCache.h" |
34 #include "core/dom/Attribute.h" | 35 #include "core/dom/Attribute.h" |
| 36 #include "core/dom/AttributeCollection.h" |
35 #include "core/dom/ContainerNode.h" | 37 #include "core/dom/ContainerNode.h" |
36 #include "core/dom/Document.h" | 38 #include "core/dom/Document.h" |
37 #include "core/dom/ElementData.h" | 39 #include "core/dom/ElementData.h" |
38 #include "core/dom/SpaceSplitString.h" | 40 #include "core/dom/SpaceSplitString.h" |
39 #include "core/html/CollectionType.h" | 41 #include "core/html/CollectionType.h" |
| 42 #include "core/input/InputDeviceCapabilities.h" |
40 #include "platform/heap/Handle.h" | 43 #include "platform/heap/Handle.h" |
41 #include "public/platform/WebFocusType.h" | 44 #include "public/platform/WebFocusType.h" |
42 | 45 |
43 namespace blink { | 46 namespace blink { |
44 | 47 |
45 class ElementAnimations; | 48 class ElementAnimations; |
46 class Attr; | 49 class Attr; |
47 class Attribute; | |
48 class CSSStyleDeclaration; | 50 class CSSStyleDeclaration; |
49 class ClientRect; | 51 class ClientRect; |
50 class ClientRectList; | 52 class ClientRectList; |
51 class CustomElementDefinition; | 53 class CustomElementDefinition; |
52 class DOMStringMap; | 54 class DOMStringMap; |
53 class DOMTokenList; | 55 class DOMTokenList; |
54 class Dictionary; | 56 class Dictionary; |
55 class ElementRareData; | 57 class ElementRareData; |
56 class ElementShadow; | 58 class ElementShadow; |
57 class ExceptionState; | 59 class ExceptionState; |
58 class Image; | 60 class Image; |
59 class IntSize; | 61 class IntSize; |
60 class Locale; | 62 class Locale; |
61 class MutableStylePropertySet; | 63 class MutableStylePropertySet; |
62 class PropertySetCSSStyleDeclaration; | 64 class PropertySetCSSStyleDeclaration; |
63 class PseudoElement; | 65 class PseudoElement; |
64 class ScrollState; | 66 class ScrollState; |
65 class ScrollStateCallback; | 67 class ScrollStateCallback; |
66 class ScrollToOptions; | 68 class ScrollToOptions; |
67 class ShadowRoot; | 69 class ShadowRoot; |
68 class ShadowRootInit; | 70 class ShadowRootInit; |
69 class StylePropertySet; | |
70 | 71 |
71 enum SpellcheckAttributeState { | 72 enum SpellcheckAttributeState { |
72 SpellcheckAttributeTrue, | 73 SpellcheckAttributeTrue, |
73 SpellcheckAttributeFalse, | 74 SpellcheckAttributeFalse, |
74 SpellcheckAttributeDefault | 75 SpellcheckAttributeDefault |
75 }; | 76 }; |
76 | 77 |
77 enum ElementFlags { | 78 enum ElementFlags { |
78 TabIndexWasSetExplicitly = 1 << 0, | 79 TabIndexWasSetExplicitly = 1 << 0, |
79 StyleAffectedByEmpty = 1 << 1, | 80 StyleAffectedByEmpty = 1 << 1, |
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 920 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
920 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 921 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
921 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 922 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
922 { \ | 923 { \ |
923 return adoptRefWillBeNoop(new T(tagName, document)); \ | 924 return adoptRefWillBeNoop(new T(tagName, document)); \ |
924 } | 925 } |
925 | 926 |
926 } // namespace | 927 } // namespace |
927 | 928 |
928 #endif // Element_h | 929 #endif // Element_h |
OLD | NEW |