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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 // Clones all attribute-derived data, including subclass specifics (through
copyNonAttributeProperties.) | 427 // Clones all attribute-derived data, including subclass specifics (through
copyNonAttributeProperties.) |
428 void cloneDataFromElement(const Element&); | 428 void cloneDataFromElement(const Element&); |
429 | 429 |
430 bool hasEquivalentAttributes(const Element* other) const; | 430 bool hasEquivalentAttributes(const Element* other) const; |
431 | 431 |
432 virtual void copyNonAttributePropertiesFromElement(const Element&) { } | 432 virtual void copyNonAttributePropertiesFromElement(const Element&) { } |
433 | 433 |
434 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 434 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
435 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 435 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
436 virtual RenderObject* createRenderer(RenderStyle*); | 436 virtual RenderObject* createRenderer(RenderStyle*); |
437 virtual bool rendererIsNeeded(const NodeRenderingContext&); | 437 virtual bool rendererIsNeeded(const RenderStyle&); |
438 bool recalcStyle(StyleRecalcChange); | 438 bool recalcStyle(StyleRecalcChange); |
439 void didAffectSelector(AffectedSelectorMask); | 439 void didAffectSelector(AffectedSelectorMask); |
440 | 440 |
441 ElementShadow* shadow() const; | 441 ElementShadow* shadow() const; |
442 ElementShadow* ensureShadow(); | 442 ElementShadow* ensureShadow(); |
443 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionState&); | 443 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionState&); |
444 ShadowRoot* shadowRoot() const; | 444 ShadowRoot* shadowRoot() const; |
445 | 445 |
446 bool hasAuthorShadowRoot() const { return shadowRoot(); } | 446 bool hasAuthorShadowRoot() const { return shadowRoot(); } |
447 | 447 |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 virtual bool wasChangedSinceLastFormControlChangeEvent() const { return fals
e; } | 588 virtual bool wasChangedSinceLastFormControlChangeEvent() const { return fals
e; } |
589 virtual void setChangedSinceLastFormControlChangeEvent(bool) { } | 589 virtual void setChangedSinceLastFormControlChangeEvent(bool) { } |
590 virtual void dispatchFormControlChangeEvent() { } | 590 virtual void dispatchFormControlChangeEvent() { } |
591 | 591 |
592 // Used for disabled form elements; if true, prevents mouse events from bein
g dispatched | 592 // Used for disabled form elements; if true, prevents mouse events from bein
g dispatched |
593 // to event listeners, and prevents DOMActivate events from being sent at al
l. | 593 // to event listeners, and prevents DOMActivate events from being sent at al
l. |
594 virtual bool isDisabledFormControl() const { return false; } | 594 virtual bool isDisabledFormControl() const { return false; } |
595 | 595 |
596 virtual bool shouldBeReparentedUnderRenderView(const RenderStyle*) const { r
eturn isInTopLayer(); } | 596 virtual bool shouldBeReparentedUnderRenderView(const RenderStyle*) const { r
eturn isInTopLayer(); } |
597 | 597 |
598 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; | 598 virtual bool childShouldCreateRenderer(const Node& child) const; |
599 bool hasPendingResources() const; | 599 bool hasPendingResources() const; |
600 void setHasPendingResources(); | 600 void setHasPendingResources(); |
601 void clearHasPendingResources(); | 601 void clearHasPendingResources(); |
602 virtual void buildPendingResource() { }; | 602 virtual void buildPendingResource() { }; |
603 | 603 |
604 enum { | 604 enum { |
605 ALLOW_KEYBOARD_INPUT = 1 << 0, | 605 ALLOW_KEYBOARD_INPUT = 1 << 0, |
606 LEGACY_MOZILLA_REQUEST = 1 << 1, | 606 LEGACY_MOZILLA_REQUEST = 1 << 1, |
607 }; | 607 }; |
608 | 608 |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1092 | 1092 |
1093 inline const Attribute* ElementData::attributeItem(unsigned index) const | 1093 inline const Attribute* ElementData::attributeItem(unsigned index) const |
1094 { | 1094 { |
1095 RELEASE_ASSERT(index < length()); | 1095 RELEASE_ASSERT(index < length()); |
1096 return attributeBase() + index; | 1096 return attributeBase() + index; |
1097 } | 1097 } |
1098 | 1098 |
1099 } // namespace | 1099 } // namespace |
1100 | 1100 |
1101 #endif | 1101 #endif |
OLD | NEW |