| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 CompositorMutation; |
| 52 class V0CustomElementDefinition; | 52 class V0CustomElementDefinition; |
| 53 class CustomElementDefinition; |
| 53 class DOMStringMap; | 54 class DOMStringMap; |
| 54 class DOMTokenList; | 55 class DOMTokenList; |
| 55 class Dictionary; | 56 class Dictionary; |
| 56 class ElementRareData; | 57 class ElementRareData; |
| 57 class ElementShadow; | 58 class ElementShadow; |
| 58 class ExceptionState; | 59 class ExceptionState; |
| 59 class Image; | 60 class Image; |
| 60 class IntSize; | 61 class IntSize; |
| 61 class Locale; | 62 class Locale; |
| 62 class MutableStylePropertySet; | 63 class MutableStylePropertySet; |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 | 511 |
| 511 // Used for disabled form elements; if true, prevents mouse events from bein
g dispatched | 512 // Used for disabled form elements; if true, prevents mouse events from bein
g dispatched |
| 512 // to event listeners, and prevents DOMActivate events from being sent at al
l. | 513 // to event listeners, and prevents DOMActivate events from being sent at al
l. |
| 513 virtual bool isDisabledFormControl() const { return false; } | 514 virtual bool isDisabledFormControl() const { return false; } |
| 514 | 515 |
| 515 bool hasPendingResources() const { return hasElementFlag(HasPendingResources
); } | 516 bool hasPendingResources() const { return hasElementFlag(HasPendingResources
); } |
| 516 void setHasPendingResources() { setElementFlag(HasPendingResources); } | 517 void setHasPendingResources() { setElementFlag(HasPendingResources); } |
| 517 void clearHasPendingResources() { clearElementFlag(HasPendingResources); } | 518 void clearHasPendingResources() { clearElementFlag(HasPendingResources); } |
| 518 virtual void buildPendingResource() { } | 519 virtual void buildPendingResource() { } |
| 519 | 520 |
| 520 void setCustomElementDefinition(V0CustomElementDefinition*); | 521 void V0setCustomElementDefinition(V0CustomElementDefinition*); |
| 521 V0CustomElementDefinition* customElementDefinition() const; | 522 V0CustomElementDefinition* V0customElementDefinition() const; |
| 523 |
| 524 void setCustomElementDefinition(CustomElementDefinition*); |
| 525 CustomElementDefinition* customElementDefinition() const; |
| 522 | 526 |
| 523 bool containsFullScreenElement() const { return hasElementFlag(ContainsFullS
creenElement); } | 527 bool containsFullScreenElement() const { return hasElementFlag(ContainsFullS
creenElement); } |
| 524 void setContainsFullScreenElement(bool); | 528 void setContainsFullScreenElement(bool); |
| 525 void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(bool); | 529 void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(bool); |
| 526 | 530 |
| 527 bool isInTopLayer() const { return hasElementFlag(IsInTopLayer); } | 531 bool isInTopLayer() const { return hasElementFlag(IsInTopLayer); } |
| 528 void setIsInTopLayer(bool); | 532 void setIsInTopLayer(bool); |
| 529 | 533 |
| 530 void requestPointerLock(); | 534 void requestPointerLock(); |
| 531 | 535 |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 972 static T* create(const QualifiedName&, Document&) | 976 static T* create(const QualifiedName&, Document&) |
| 973 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 977 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 974 T* T::create(const QualifiedName& tagName, Document& document) \ | 978 T* T::create(const QualifiedName& tagName, Document& document) \ |
| 975 { \ | 979 { \ |
| 976 return new T(tagName, document); \ | 980 return new T(tagName, document); \ |
| 977 } | 981 } |
| 978 | 982 |
| 979 } // namespace blink | 983 } // namespace blink |
| 980 | 984 |
| 981 #endif // Element_h | 985 #endif // Element_h |
| OLD | NEW |