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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 | 543 |
543 // A compositor proxy is a very limited wrapper around an element. It | 544 // A compositor proxy is a very limited wrapper around an element. It |
544 // exposes only those properties that are requested at the time the proxy is | 545 // exposes only those properties that are requested at the time the proxy is |
545 // created. In order to know which properties are actually proxied, we | 546 // created. In order to know which properties are actually proxied, we |
546 // maintain a count of the number of compositor proxies associated with each | 547 // maintain a count of the number of compositor proxies associated with each |
547 // property. | 548 // property. |
548 bool hasCompositorProxy() const; | 549 bool hasCompositorProxy() const; |
549 void incrementCompositorProxiedProperties(uint32_t mutableProperties); | 550 void incrementCompositorProxiedProperties(uint32_t mutableProperties); |
550 void decrementCompositorProxiedProperties(uint32_t mutableProperties); | 551 void decrementCompositorProxiedProperties(uint32_t mutableProperties); |
551 uint32_t compositorMutableProperties() const; | 552 uint32_t compositorMutableProperties() const; |
| 553 void updateFromCompositorMutation(const CompositorMutation&); |
552 | 554 |
553 // Helpers for V8DOMActivityLogger::logEvent. They call logEvent only if | 555 // Helpers for V8DOMActivityLogger::logEvent. They call logEvent only if |
554 // the element is inDocument() and the context is an isolated world. | 556 // the element is inDocument() and the context is an isolated world. |
555 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1); | 557 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1); |
556 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1, const QualifiedName& attr2); | 558 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1, const QualifiedName& attr2); |
557 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1, const QualifiedName& attr2, const QualifiedName& attr3); | 559 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1, const QualifiedName& attr2, const QualifiedName& attr3); |
558 void logUpdateAttributeIfIsolatedWorldAndInDocument(const char element[], co
nst QualifiedName& attributeName, const AtomicString& oldValue, const AtomicStri
ng& newValue); | 560 void logUpdateAttributeIfIsolatedWorldAndInDocument(const char element[], co
nst QualifiedName& attributeName, const AtomicString& oldValue, const AtomicStri
ng& newValue); |
559 | 561 |
560 DECLARE_VIRTUAL_TRACE(); | 562 DECLARE_VIRTUAL_TRACE(); |
561 | 563 |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
948 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 950 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
949 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 951 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
950 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 952 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
951 { \ | 953 { \ |
952 return adoptRefWillBeNoop(new T(tagName, document)); \ | 954 return adoptRefWillBeNoop(new T(tagName, document)); \ |
953 } | 955 } |
954 | 956 |
955 } // namespace blink | 957 } // namespace blink |
956 | 958 |
957 #endif // Element_h | 959 #endif // Element_h |
OLD | NEW |