| 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 20 matching lines...) Expand all Loading... |
| 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/dom/AXObjectCache.h" | 33 #include "core/dom/AXObjectCache.h" |
| 34 #include "core/dom/Attribute.h" | 34 #include "core/dom/Attribute.h" |
| 35 #include "core/dom/ContainerNode.h" | 35 #include "core/dom/ContainerNode.h" |
| 36 #include "core/dom/Document.h" | 36 #include "core/dom/Document.h" |
| 37 #include "core/dom/ElementData.h" | 37 #include "core/dom/ElementData.h" |
| 38 #include "core/dom/SpaceSplitString.h" | 38 #include "core/dom/SpaceSplitString.h" |
| 39 #include "core/html/CollectionType.h" | 39 #include "core/html/CollectionType.h" |
| 40 #include "platform/heap/Handle.h" | 40 #include "platform/heap/Handle.h" |
| 41 #include "platform/scroll/ScrollTypes.h" |
| 41 #include "public/platform/WebFocusType.h" | 42 #include "public/platform/WebFocusType.h" |
| 42 | 43 |
| 43 namespace blink { | 44 namespace blink { |
| 44 | 45 |
| 45 class ElementAnimations; | 46 class ElementAnimations; |
| 46 class Attr; | 47 class Attr; |
| 47 class Attribute; | 48 class Attribute; |
| 48 class CSSStyleDeclaration; | 49 class CSSStyleDeclaration; |
| 49 class ClientRect; | 50 class ClientRect; |
| 50 class ClientRectList; | 51 class ClientRectList; |
| (...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 | 648 |
| 648 bool isSpellCheckingEnabled() const; | 649 bool isSpellCheckingEnabled() const; |
| 649 | 650 |
| 650 // FIXME: public for LayoutTreeBuilder, we shouldn't expose this though. | 651 // FIXME: public for LayoutTreeBuilder, we shouldn't expose this though. |
| 651 PassRefPtr<ComputedStyle> styleForLayoutObject(); | 652 PassRefPtr<ComputedStyle> styleForLayoutObject(); |
| 652 | 653 |
| 653 bool hasID() const; | 654 bool hasID() const; |
| 654 bool hasClass() const; | 655 bool hasClass() const; |
| 655 const SpaceSplitString& classNames() const; | 656 const SpaceSplitString& classNames() const; |
| 656 | 657 |
| 657 IntSize savedLayerScrollOffset() const; | 658 ScrollOffset savedLayerScrollOffset() const; |
| 658 void setSavedLayerScrollOffset(const IntSize&); | 659 void setSavedLayerScrollOffset(const ScrollOffset&); |
| 659 | 660 |
| 660 ElementAnimations* elementAnimations() const; | 661 ElementAnimations* elementAnimations() const; |
| 661 ElementAnimations& ensureElementAnimations(); | 662 ElementAnimations& ensureElementAnimations(); |
| 662 bool hasAnimations() const; | 663 bool hasAnimations() const; |
| 663 | 664 |
| 664 void synchronizeAttribute(const AtomicString& localName) const; | 665 void synchronizeAttribute(const AtomicString& localName) const; |
| 665 | 666 |
| 666 MutableStylePropertySet& ensureMutableInlineStyle(); | 667 MutableStylePropertySet& ensureMutableInlineStyle(); |
| 667 void clearMutableInlineStyleIfEmpty(); | 668 void clearMutableInlineStyleIfEmpty(); |
| 668 | 669 |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1142 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1143 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 1143 static T* create(const QualifiedName&, Document&) | 1144 static T* create(const QualifiedName&, Document&) |
| 1144 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1145 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 1145 T* T::create(const QualifiedName& tagName, Document& document) { \ | 1146 T* T::create(const QualifiedName& tagName, Document& document) { \ |
| 1146 return new T(tagName, document); \ | 1147 return new T(tagName, document); \ |
| 1147 } | 1148 } |
| 1148 | 1149 |
| 1149 } // namespace blink | 1150 } // namespace blink |
| 1150 | 1151 |
| 1151 #endif // Element_h | 1152 #endif // Element_h |
| OLD | NEW |