| 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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 bool hasAnimations() const; | 523 bool hasAnimations() const; |
| 524 | 524 |
| 525 void synchronizeAttribute(const AtomicString& localName) const; | 525 void synchronizeAttribute(const AtomicString& localName) const; |
| 526 | 526 |
| 527 MutableStylePropertySet& ensureMutableInlineStyle(); | 527 MutableStylePropertySet& ensureMutableInlineStyle(); |
| 528 void clearMutableInlineStyleIfEmpty(); | 528 void clearMutableInlineStyleIfEmpty(); |
| 529 | 529 |
| 530 void setTabIndex(int); | 530 void setTabIndex(int); |
| 531 short tabIndex() const override; | 531 short tabIndex() const override; |
| 532 | 532 |
| 533 void incrementProxyCount(); | 533 // A compositor proxy is a very limited wrapper around an element. It |
| 534 void decrementProxyCount(); | 534 // exposes only those properties that are requested at the time the proxy is |
| 535 // created. In order to know which properties are actually proxied, we |
| 536 // maintain a count of the number of compositor proxies associated with each |
| 537 // property. |
| 538 bool hasCompositorProxy() const; |
| 539 void incrementCompositorProxiedProperties(uint32_t mutableProperties); |
| 540 void decrementCompositorProxiedProperties(uint32_t mutableProperties); |
| 541 uint32_t compositorMutableProperties() const; |
| 535 | 542 |
| 536 // Helpers for V8DOMActivityLogger::logEvent. They call logEvent only if | 543 // Helpers for V8DOMActivityLogger::logEvent. They call logEvent only if |
| 537 // the element is inDocument() and the context is an isolated world. | 544 // the element is inDocument() and the context is an isolated world. |
| 538 void logEventIfIsolatedWorldAndInDocument(const String& eventName, const Str
ing& arg1, const String& arg2); | 545 void logEventIfIsolatedWorldAndInDocument(const String& eventName, const Str
ing& arg1, const String& arg2); |
| 539 void logEventIfIsolatedWorldAndInDocument(const String& eventName, const Str
ing& arg1, const String& arg2, const String& arg3); | 546 void logEventIfIsolatedWorldAndInDocument(const String& eventName, const Str
ing& arg1, const String& arg2, const String& arg3); |
| 540 void logEventIfIsolatedWorldAndInDocument(const String& eventName, const Str
ing& arg1, const String& arg2, const String& arg3, const String& arg4); | 547 void logEventIfIsolatedWorldAndInDocument(const String& eventName, const Str
ing& arg1, const String& arg2, const String& arg3, const String& arg4); |
| 541 | 548 |
| 542 DECLARE_VIRTUAL_TRACE(); | 549 DECLARE_VIRTUAL_TRACE(); |
| 543 | 550 |
| 544 SpellcheckAttributeState spellcheckAttributeState() const; | 551 SpellcheckAttributeState spellcheckAttributeState() const; |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 925 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 932 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 926 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 933 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 927 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 934 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 928 { \ | 935 { \ |
| 929 return adoptRefWillBeNoop(new T(tagName, document)); \ | 936 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 930 } | 937 } |
| 931 | 938 |
| 932 } // namespace | 939 } // namespace |
| 933 | 940 |
| 934 #endif // Element_h | 941 #endif // Element_h |
| OLD | NEW |