| 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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 | 566 |
| 567 virtual bool wasChangedSinceLastFormControlChangeEvent() const; | 567 virtual bool wasChangedSinceLastFormControlChangeEvent() const; |
| 568 virtual void setChangedSinceLastFormControlChangeEvent(bool); | 568 virtual void setChangedSinceLastFormControlChangeEvent(bool); |
| 569 virtual void dispatchFormControlChangeEvent() { } | 569 virtual void dispatchFormControlChangeEvent() { } |
| 570 | 570 |
| 571 // Used for disabled form elements; if true, prevents mouse events from bein
g dispatched | 571 // Used for disabled form elements; if true, prevents mouse events from bein
g dispatched |
| 572 // to event listeners, and prevents DOMActivate events from being sent at al
l. | 572 // to event listeners, and prevents DOMActivate events from being sent at al
l. |
| 573 virtual bool isDisabledFormControl() const { return false; } | 573 virtual bool isDisabledFormControl() const { return false; } |
| 574 | 574 |
| 575 bool isInert() const; | 575 bool isInert() const; |
| 576 virtual bool shouldBeReparentedUnderRenderView(const RenderStyle*) const { r
eturn isInTopLayer(); } | 576 virtual bool shouldBeReparentedUnderRenderView(const RenderStyle*) const { r
eturn pseudoId() == BACKDROP || isInTopLayer(); } |
| 577 | 577 |
| 578 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; | 578 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; |
| 579 bool hasPendingResources() const; | 579 bool hasPendingResources() const; |
| 580 void setHasPendingResources(); | 580 void setHasPendingResources(); |
| 581 void clearHasPendingResources(); | 581 void clearHasPendingResources(); |
| 582 virtual void buildPendingResource() { }; | 582 virtual void buildPendingResource() { }; |
| 583 | 583 |
| 584 enum { | 584 enum { |
| 585 ALLOW_KEYBOARD_INPUT = 1 << 0, | 585 ALLOW_KEYBOARD_INPUT = 1 << 0, |
| 586 LEGACY_MOZILLA_REQUEST = 1 << 1, | 586 LEGACY_MOZILLA_REQUEST = 1 << 1, |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1055 | 1055 |
| 1056 inline const Attribute* ElementData::attributeItem(unsigned index) const | 1056 inline const Attribute* ElementData::attributeItem(unsigned index) const |
| 1057 { | 1057 { |
| 1058 RELEASE_ASSERT(index < length()); | 1058 RELEASE_ASSERT(index < length()); |
| 1059 return attributeBase() + index; | 1059 return attributeBase() + index; |
| 1060 } | 1060 } |
| 1061 | 1061 |
| 1062 } // namespace | 1062 } // namespace |
| 1063 | 1063 |
| 1064 #endif | 1064 #endif |
| OLD | NEW |