| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  228     // A fast function for checking the local name against another atomic string
     . |  228     // A fast function for checking the local name against another atomic string
     . | 
|  229     bool hasLocalName(const AtomicString& other) const { return m_tagName.localN
     ame() == other; } |  229     bool hasLocalName(const AtomicString& other) const { return m_tagName.localN
     ame() == other; } | 
|  230     bool hasLocalName(const QualifiedName& other) const { return m_tagName.local
     Name() == other.localName(); } |  230     bool hasLocalName(const QualifiedName& other) const { return m_tagName.local
     Name() == other.localName(); } | 
|  231  |  231  | 
|  232     virtual const AtomicString& localName() const OVERRIDE FINAL { return m_tagN
     ame.localName(); } |  232     virtual const AtomicString& localName() const OVERRIDE FINAL { return m_tagN
     ame.localName(); } | 
|  233     virtual const AtomicString& prefix() const OVERRIDE FINAL { return m_tagName
     .prefix(); } |  233     virtual const AtomicString& prefix() const OVERRIDE FINAL { return m_tagName
     .prefix(); } | 
|  234     virtual const AtomicString& namespaceURI() const OVERRIDE FINAL { return m_t
     agName.namespaceURI(); } |  234     virtual const AtomicString& namespaceURI() const OVERRIDE FINAL { return m_t
     agName.namespaceURI(); } | 
|  235  |  235  | 
|  236     virtual KURL baseURI() const OVERRIDE FINAL; |  236     virtual KURL baseURI() const OVERRIDE FINAL; | 
|  237  |  237  | 
|  238     virtual String nodeName() const; |  238     virtual String nodeName() const OVERRIDE; | 
|  239  |  239  | 
|  240     PassRefPtr<Element> cloneElementWithChildren(); |  240     PassRefPtr<Element> cloneElementWithChildren(); | 
|  241     PassRefPtr<Element> cloneElementWithoutChildren(); |  241     PassRefPtr<Element> cloneElementWithoutChildren(); | 
|  242  |  242  | 
|  243     void scheduleLayerUpdate(); |  243     void scheduleLayerUpdate(); | 
|  244  |  244  | 
|  245     void normalizeAttributes(); |  245     void normalizeAttributes(); | 
|  246     String nodeNamePreservingCase() const; |  246     String nodeNamePreservingCase() const; | 
|  247  |  247  | 
|  248     void setBooleanAttribute(const QualifiedName& name, bool); |  248     void setBooleanAttribute(const QualifiedName& name, bool); | 
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  459     virtual bool isRequiredFormControl() const { return false; } |  459     virtual bool isRequiredFormControl() const { return false; } | 
|  460     virtual bool isDefaultButtonForForm() const { return false; } |  460     virtual bool isDefaultButtonForForm() const { return false; } | 
|  461     virtual bool willValidate() const { return false; } |  461     virtual bool willValidate() const { return false; } | 
|  462     virtual bool isValidFormControlElement() { return false; } |  462     virtual bool isValidFormControlElement() { return false; } | 
|  463     virtual bool isInRange() const { return false; } |  463     virtual bool isInRange() const { return false; } | 
|  464     virtual bool isOutOfRange() const { return false; } |  464     virtual bool isOutOfRange() const { return false; } | 
|  465     virtual bool isFrameElementBase() const { return false; } |  465     virtual bool isFrameElementBase() const { return false; } | 
|  466     virtual bool isPasswordGeneratorButtonElement() const { return false; } |  466     virtual bool isPasswordGeneratorButtonElement() const { return false; } | 
|  467     virtual bool isClearButtonElement() const { return false; } |  467     virtual bool isClearButtonElement() const { return false; } | 
|  468  |  468  | 
|  469     virtual bool canContainRangeEndPoint() const { return true; } |  469     virtual bool canContainRangeEndPoint() const OVERRIDE { return true; } | 
|  470  |  470  | 
|  471     virtual const AtomicString& formControlType() const { return nullAtom; } |  471     virtual const AtomicString& formControlType() const { return nullAtom; } | 
|  472  |  472  | 
|  473     // FIXME: Only HTMLInputElement uses these, they don't need to be virtual. |  473     // FIXME: Only HTMLInputElement uses these, they don't need to be virtual. | 
|  474     virtual bool wasChangedSinceLastFormControlChangeEvent() const { return fals
     e; } |  474     virtual bool wasChangedSinceLastFormControlChangeEvent() const { return fals
     e; } | 
|  475     virtual void setChangedSinceLastFormControlChangeEvent(bool) { } |  475     virtual void setChangedSinceLastFormControlChangeEvent(bool) { } | 
|  476     virtual void dispatchFormControlChangeEvent() { } |  476     virtual void dispatchFormControlChangeEvent() { } | 
|  477  |  477  | 
|  478     // Used for disabled form elements; if true, prevents mouse events from bein
     g dispatched |  478     // Used for disabled form elements; if true, prevents mouse events from bein
     g dispatched | 
|  479     // to event listeners, and prevents DOMActivate events from being sent at al
     l. |  479     // to event listeners, and prevents DOMActivate events from being sent at al
     l. | 
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  632  |  632  | 
|  633     virtual NodeType nodeType() const OVERRIDE FINAL; |  633     virtual NodeType nodeType() const OVERRIDE FINAL; | 
|  634     virtual bool childTypeAllowed(NodeType) const OVERRIDE FINAL; |  634     virtual bool childTypeAllowed(NodeType) const OVERRIDE FINAL; | 
|  635  |  635  | 
|  636     void setAttributeInternal(size_t index, const QualifiedName&, const AtomicSt
     ring& value, SynchronizationOfLazyAttribute); |  636     void setAttributeInternal(size_t index, const QualifiedName&, const AtomicSt
     ring& value, SynchronizationOfLazyAttribute); | 
|  637     void addAttributeInternal(const QualifiedName&, const AtomicString& value, S
     ynchronizationOfLazyAttribute); |  637     void addAttributeInternal(const QualifiedName&, const AtomicString& value, S
     ynchronizationOfLazyAttribute); | 
|  638     void removeAttributeInternal(size_t index, SynchronizationOfLazyAttribute); |  638     void removeAttributeInternal(size_t index, SynchronizationOfLazyAttribute); | 
|  639     void attributeChangedFromParserOrByCloning(const QualifiedName&, const Atomi
     cString&, AttributeModificationReason); |  639     void attributeChangedFromParserOrByCloning(const QualifiedName&, const Atomi
     cString&, AttributeModificationReason); | 
|  640  |  640  | 
|  641 #ifndef NDEBUG |  641 #ifndef NDEBUG | 
|  642     virtual void formatForDebugger(char* buffer, unsigned length) const; |  642     virtual void formatForDebugger(char* buffer, unsigned length) const OVERRIDE
     ; | 
|  643 #endif |  643 #endif | 
|  644  |  644  | 
|  645     bool pseudoStyleCacheIsInvalid(const RenderStyle* currentStyle, RenderStyle*
      newStyle); |  645     bool pseudoStyleCacheIsInvalid(const RenderStyle* currentStyle, RenderStyle*
      newStyle); | 
|  646  |  646  | 
|  647     void cancelFocusAppearanceUpdate(); |  647     void cancelFocusAppearanceUpdate(); | 
|  648  |  648  | 
|  649     virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier = 
     NOPSEUDO) { return computedStyle(pseudoElementSpecifier); } |  649     virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier = 
     NOPSEUDO) OVERRIDE { return computedStyle(pseudoElementSpecifier); } | 
|  650  |  650  | 
|  651     inline void updateCallbackSelectors(RenderStyle* oldStyle, RenderStyle* newS
     tyle); |  651     inline void updateCallbackSelectors(RenderStyle* oldStyle, RenderStyle* newS
     tyle); | 
|  652     inline void removeCallbackSelectors(); |  652     inline void removeCallbackSelectors(); | 
|  653     inline void addCallbackSelectors(); |  653     inline void addCallbackSelectors(); | 
|  654  |  654  | 
|  655     // cloneNode is private so that non-virtual cloneElementWithChildren and clo
     neElementWithoutChildren |  655     // cloneNode is private so that non-virtual cloneElementWithChildren and clo
     neElementWithoutChildren | 
|  656     // are used instead. |  656     // are used instead. | 
|  657     virtual PassRefPtr<Node> cloneNode(bool deep) OVERRIDE; |  657     virtual PassRefPtr<Node> cloneNode(bool deep) OVERRIDE; | 
|  658     virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); |  658     virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); | 
|  659  |  659  | 
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  897 } |  897 } | 
|  898  |  898  | 
|  899 inline bool isShadowHost(const Element* element) |  899 inline bool isShadowHost(const Element* element) | 
|  900 { |  900 { | 
|  901     return element && element->shadow(); |  901     return element && element->shadow(); | 
|  902 } |  902 } | 
|  903  |  903  | 
|  904 } // namespace |  904 } // namespace | 
|  905  |  905  | 
|  906 #endif |  906 #endif | 
| OLD | NEW |