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 30 matching lines...) Expand all Loading... |
41 #include "public/platform/WebFocusType.h" | 41 #include "public/platform/WebFocusType.h" |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 | 44 |
45 class ElementAnimations; | 45 class ElementAnimations; |
46 class Attr; | 46 class Attr; |
47 class Attribute; | 47 class Attribute; |
48 class CSSStyleDeclaration; | 48 class CSSStyleDeclaration; |
49 class ClientRect; | 49 class ClientRect; |
50 class ClientRectList; | 50 class ClientRectList; |
| 51 class CompositorMutation; |
51 class CustomElementDefinition; | 52 class CustomElementDefinition; |
52 class DOMStringMap; | 53 class DOMStringMap; |
53 class DOMTokenList; | 54 class DOMTokenList; |
54 class Dictionary; | 55 class Dictionary; |
55 class ElementRareData; | 56 class ElementRareData; |
56 class ElementShadow; | 57 class ElementShadow; |
57 class ExceptionState; | 58 class ExceptionState; |
58 class Image; | 59 class Image; |
59 class IntSize; | 60 class IntSize; |
60 class Locale; | 61 class Locale; |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 | 541 |
541 // A compositor proxy is a very limited wrapper around an element. It | 542 // A compositor proxy is a very limited wrapper around an element. It |
542 // exposes only those properties that are requested at the time the proxy is | 543 // exposes only those properties that are requested at the time the proxy is |
543 // created. In order to know which properties are actually proxied, we | 544 // created. In order to know which properties are actually proxied, we |
544 // maintain a count of the number of compositor proxies associated with each | 545 // maintain a count of the number of compositor proxies associated with each |
545 // property. | 546 // property. |
546 bool hasCompositorProxy() const; | 547 bool hasCompositorProxy() const; |
547 void incrementCompositorProxiedProperties(uint32_t mutableProperties); | 548 void incrementCompositorProxiedProperties(uint32_t mutableProperties); |
548 void decrementCompositorProxiedProperties(uint32_t mutableProperties); | 549 void decrementCompositorProxiedProperties(uint32_t mutableProperties); |
549 uint32_t compositorMutableProperties() const; | 550 uint32_t compositorMutableProperties() const; |
| 551 void updateFromCompositorMutation(const CompositorMutation&); |
550 | 552 |
551 // Helpers for V8DOMActivityLogger::logEvent. They call logEvent only if | 553 // Helpers for V8DOMActivityLogger::logEvent. They call logEvent only if |
552 // the element is inDocument() and the context is an isolated world. | 554 // the element is inDocument() and the context is an isolated world. |
553 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1); | 555 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1); |
554 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1, const QualifiedName& attr2); | 556 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1, const QualifiedName& attr2); |
555 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1, const QualifiedName& attr2, const QualifiedName& attr3); | 557 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1, const QualifiedName& attr2, const QualifiedName& attr3); |
556 void logUpdateAttributeIfIsolatedWorldAndInDocument(const char element[], co
nst QualifiedName& attributeName, const AtomicString& oldValue, const AtomicStri
ng& newValue); | 558 void logUpdateAttributeIfIsolatedWorldAndInDocument(const char element[], co
nst QualifiedName& attributeName, const AtomicString& oldValue, const AtomicStri
ng& newValue); |
557 | 559 |
558 DECLARE_VIRTUAL_TRACE(); | 560 DECLARE_VIRTUAL_TRACE(); |
559 | 561 |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
946 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 948 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
947 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 949 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
948 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 950 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
949 { \ | 951 { \ |
950 return adoptRefWillBeNoop(new T(tagName, document)); \ | 952 return adoptRefWillBeNoop(new T(tagName, document)); \ |
951 } | 953 } |
952 | 954 |
953 } // namespace blink | 955 } // namespace blink |
954 | 956 |
955 #endif // Element_h | 957 #endif // Element_h |
OLD | NEW |