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