| 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, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e Inc. All rights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e 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 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 #ifndef Element_h | 25 #ifndef Element_h |
| 26 #define Element_h | 26 #define Element_h |
| 27 | 27 |
| 28 #include "HTMLNames.h" | 28 #include "HTMLNames.h" |
| 29 #include "core/dom/Attribute.h" | 29 #include "core/dom/Attribute.h" |
| 30 #include "core/dom/Document.h" | 30 #include "core/dom/Document.h" |
| 31 #include "core/dom/SpaceSplitString.h" | 31 #include "core/dom/SpaceSplitString.h" |
| 32 #include "core/html/CollectionType.h" | 32 #include "core/html/CollectionType.h" |
| 33 #include "core/platform/ScrollTypes.h" | 33 #include "core/platform/ScrollTypes.h" |
| 34 #include "core/rendering/RegionOversetState.h" |
| 34 | 35 |
| 35 namespace WebCore { | 36 namespace WebCore { |
| 36 | 37 |
| 37 class Animation; | 38 class Animation; |
| 38 | 39 |
| 39 class Attr; | 40 class Attr; |
| 40 class ClientRect; | 41 class ClientRect; |
| 41 class ClientRectList; | 42 class ClientRectList; |
| 42 class DOMStringMap; | 43 class DOMStringMap; |
| 43 class DOMTokenList; | 44 class DOMTokenList; |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 void setChildrenAffectedByDirectAdjacentRules(); | 452 void setChildrenAffectedByDirectAdjacentRules(); |
| 452 void setChildrenAffectedByForwardPositionalRules(); | 453 void setChildrenAffectedByForwardPositionalRules(); |
| 453 void setChildrenAffectedByBackwardPositionalRules(); | 454 void setChildrenAffectedByBackwardPositionalRules(); |
| 454 void setChildIndex(unsigned); | 455 void setChildIndex(unsigned); |
| 455 | 456 |
| 456 void setIsInCanvasSubtree(bool); | 457 void setIsInCanvasSubtree(bool); |
| 457 bool isInCanvasSubtree() const; | 458 bool isInCanvasSubtree() const; |
| 458 | 459 |
| 459 bool isUnresolvedCustomElement(); | 460 bool isUnresolvedCustomElement(); |
| 460 | 461 |
| 462 void setRegionOversetState(RegionOversetState); |
| 463 RegionOversetState regionOversetState() const; |
| 464 |
| 461 AtomicString computeInheritedLanguage() const; | 465 AtomicString computeInheritedLanguage() const; |
| 462 Locale& locale() const; | 466 Locale& locale() const; |
| 463 | 467 |
| 464 virtual void accessKeyAction(bool /*sendToAnyEvent*/) { } | 468 virtual void accessKeyAction(bool /*sendToAnyEvent*/) { } |
| 465 | 469 |
| 466 virtual bool isURLAttribute(const Attribute&) const { return false; } | 470 virtual bool isURLAttribute(const Attribute&) const { return false; } |
| 467 virtual bool isHTMLContentAttribute(const Attribute&) const { return false;
} | 471 virtual bool isHTMLContentAttribute(const Attribute&) const { return false;
} |
| 468 | 472 |
| 469 KURL getURLAttribute(const QualifiedName&) const; | 473 KURL getURLAttribute(const QualifiedName&) const; |
| 470 KURL getNonEmptyURLAttribute(const QualifiedName&) const; | 474 KURL getNonEmptyURLAttribute(const QualifiedName&) const; |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 994 | 998 |
| 995 inline const Attribute* ElementData::attributeItem(unsigned index) const | 999 inline const Attribute* ElementData::attributeItem(unsigned index) const |
| 996 { | 1000 { |
| 997 RELEASE_ASSERT(index < length()); | 1001 RELEASE_ASSERT(index < length()); |
| 998 return attributeBase() + index; | 1002 return attributeBase() + index; |
| 999 } | 1003 } |
| 1000 | 1004 |
| 1001 } // namespace | 1005 } // namespace |
| 1002 | 1006 |
| 1003 #endif | 1007 #endif |
| OLD | NEW |