| 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 19 matching lines...) Expand all Loading... |
| 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/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/graphics/CompositorElementId.h" |
| 40 #include "platform/heap/Handle.h" | 41 #include "platform/heap/Handle.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; |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 bool hasClass() const; | 532 bool hasClass() const; |
| 532 const SpaceSplitString& classNames() const; | 533 const SpaceSplitString& classNames() const; |
| 533 | 534 |
| 534 IntSize savedLayerScrollOffset() const; | 535 IntSize savedLayerScrollOffset() const; |
| 535 void setSavedLayerScrollOffset(const IntSize&); | 536 void setSavedLayerScrollOffset(const IntSize&); |
| 536 | 537 |
| 537 ElementAnimations* elementAnimations() const; | 538 ElementAnimations* elementAnimations() const; |
| 538 ElementAnimations& ensureElementAnimations(); | 539 ElementAnimations& ensureElementAnimations(); |
| 539 bool hasAnimations() const; | 540 bool hasAnimations() const; |
| 540 | 541 |
| 542 CompositorElementId compositorElementId() const; |
| 543 CompositorElementId assignCompositorElementId(); |
| 544 |
| 541 void synchronizeAttribute(const AtomicString& localName) const; | 545 void synchronizeAttribute(const AtomicString& localName) const; |
| 542 | 546 |
| 543 MutableStylePropertySet& ensureMutableInlineStyle(); | 547 MutableStylePropertySet& ensureMutableInlineStyle(); |
| 544 void clearMutableInlineStyleIfEmpty(); | 548 void clearMutableInlineStyleIfEmpty(); |
| 545 | 549 |
| 546 void setTabIndex(int); | 550 void setTabIndex(int); |
| 547 short tabIndex() const override; | 551 short tabIndex() const override; |
| 548 | 552 |
| 549 // A compositor proxy is a very limited wrapper around an element. It | 553 // A compositor proxy is a very limited wrapper around an element. It |
| 550 // exposes only those properties that are requested at the time the proxy is | 554 // exposes only those properties that are requested at the time the proxy is |
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 961 static T* create(const QualifiedName&, Document&) | 965 static T* create(const QualifiedName&, Document&) |
| 962 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 966 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 963 T* T::create(const QualifiedName& tagName, Document& document) \ | 967 T* T::create(const QualifiedName& tagName, Document& document) \ |
| 964 { \ | 968 { \ |
| 965 return new T(tagName, document); \ | 969 return new T(tagName, document); \ |
| 966 } | 970 } |
| 967 | 971 |
| 968 } // namespace blink | 972 } // namespace blink |
| 969 | 973 |
| 970 #endif // Element_h | 974 #endif // Element_h |
| OLD | NEW |