| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 CompositorMutation; |
| 52 class CustomElementDefinition; | 52 class V0CustomElementDefinition; |
| 53 class DOMStringMap; | 53 class DOMStringMap; |
| 54 class DOMTokenList; | 54 class DOMTokenList; |
| 55 class Dictionary; | 55 class Dictionary; |
| 56 class ElementRareData; | 56 class ElementRareData; |
| 57 class ElementShadow; | 57 class ElementShadow; |
| 58 class ExceptionState; | 58 class ExceptionState; |
| 59 class Image; | 59 class Image; |
| 60 class IntSize; | 60 class IntSize; |
| 61 class Locale; | 61 class Locale; |
| 62 class MutableStylePropertySet; | 62 class MutableStylePropertySet; |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 | 502 |
| 503 // Used for disabled form elements; if true, prevents mouse events from bein
g dispatched | 503 // Used for disabled form elements; if true, prevents mouse events from bein
g dispatched |
| 504 // to event listeners, and prevents DOMActivate events from being sent at al
l. | 504 // to event listeners, and prevents DOMActivate events from being sent at al
l. |
| 505 virtual bool isDisabledFormControl() const { return false; } | 505 virtual bool isDisabledFormControl() const { return false; } |
| 506 | 506 |
| 507 bool hasPendingResources() const { return hasElementFlag(HasPendingResources
); } | 507 bool hasPendingResources() const { return hasElementFlag(HasPendingResources
); } |
| 508 void setHasPendingResources() { setElementFlag(HasPendingResources); } | 508 void setHasPendingResources() { setElementFlag(HasPendingResources); } |
| 509 void clearHasPendingResources() { clearElementFlag(HasPendingResources); } | 509 void clearHasPendingResources() { clearElementFlag(HasPendingResources); } |
| 510 virtual void buildPendingResource() { } | 510 virtual void buildPendingResource() { } |
| 511 | 511 |
| 512 void setCustomElementDefinition(CustomElementDefinition*); | 512 void setCustomElementDefinition(V0CustomElementDefinition*); |
| 513 CustomElementDefinition* customElementDefinition() const; | 513 V0CustomElementDefinition* customElementDefinition() const; |
| 514 | 514 |
| 515 bool containsFullScreenElement() const { return hasElementFlag(ContainsFullS
creenElement); } | 515 bool containsFullScreenElement() const { return hasElementFlag(ContainsFullS
creenElement); } |
| 516 void setContainsFullScreenElement(bool); | 516 void setContainsFullScreenElement(bool); |
| 517 void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(bool); | 517 void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(bool); |
| 518 | 518 |
| 519 bool isInTopLayer() const { return hasElementFlag(IsInTopLayer); } | 519 bool isInTopLayer() const { return hasElementFlag(IsInTopLayer); } |
| 520 void setIsInTopLayer(bool); | 520 void setIsInTopLayer(bool); |
| 521 | 521 |
| 522 void requestPointerLock(); | 522 void requestPointerLock(); |
| 523 | 523 |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 static T* create(const QualifiedName&, Document&) | 958 static T* create(const QualifiedName&, Document&) |
| 959 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 959 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 960 T* T::create(const QualifiedName& tagName, Document& document) \ | 960 T* T::create(const QualifiedName& tagName, Document& document) \ |
| 961 { \ | 961 { \ |
| 962 return new T(tagName, document); \ | 962 return new T(tagName, document); \ |
| 963 } | 963 } |
| 964 | 964 |
| 965 } // namespace blink | 965 } // namespace blink |
| 966 | 966 |
| 967 #endif // Element_h | 967 #endif // Element_h |
| OLD | NEW |