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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 virtual bool isTextFieldDecoration() const { return false; } | 550 virtual bool isTextFieldDecoration() const { return false; } |
551 | 551 |
552 virtual bool canContainRangeEndPoint() const { return true; } | 552 virtual bool canContainRangeEndPoint() const { return true; } |
553 | 553 |
554 virtual const AtomicString& formControlType() const { return nullAtom; } | 554 virtual const AtomicString& formControlType() const { return nullAtom; } |
555 | 555 |
556 virtual bool wasChangedSinceLastFormControlChangeEvent() const; | 556 virtual bool wasChangedSinceLastFormControlChangeEvent() const; |
557 virtual void setChangedSinceLastFormControlChangeEvent(bool); | 557 virtual void setChangedSinceLastFormControlChangeEvent(bool); |
558 virtual void dispatchFormControlChangeEvent() { } | 558 virtual void dispatchFormControlChangeEvent() { } |
559 | 559 |
560 // Used for disabled form elements; if true, prevents mouse events from bein
g dispatched | |
561 // to event listeners, and prevents DOMActivate events from being sent at al
l. | |
562 virtual bool disabled() const; | |
563 | |
564 #if ENABLE(DIALOG_ELEMENT) | |
565 bool isInert() const; | |
566 #endif | |
567 | |
568 #if ENABLE(SVG) | 560 #if ENABLE(SVG) |
569 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; | 561 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; |
570 bool hasPendingResources() const; | 562 bool hasPendingResources() const; |
571 void setHasPendingResources(); | 563 void setHasPendingResources(); |
572 void clearHasPendingResources(); | 564 void clearHasPendingResources(); |
573 virtual void buildPendingResource() { }; | 565 virtual void buildPendingResource() { }; |
574 #endif | 566 #endif |
575 | 567 |
576 #if ENABLE(FULLSCREEN_API) | 568 #if ENABLE(FULLSCREEN_API) |
577 enum { | 569 enum { |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
988 { | 980 { |
989 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); | 981 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); |
990 if (m_isUnique) | 982 if (m_isUnique) |
991 return &static_cast<const UniqueElementData*>(this)->m_attributeVector.a
t(index); | 983 return &static_cast<const UniqueElementData*>(this)->m_attributeVector.a
t(index); |
992 return &static_cast<const ShareableElementData*>(this)->m_attributeArray[ind
ex]; | 984 return &static_cast<const ShareableElementData*>(this)->m_attributeArray[ind
ex]; |
993 } | 985 } |
994 | 986 |
995 } // namespace | 987 } // namespace |
996 | 988 |
997 #endif | 989 #endif |
OLD | NEW |