| 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 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 | 552 |
| 553 virtual bool wasChangedSinceLastFormControlChangeEvent() const; | 553 virtual bool wasChangedSinceLastFormControlChangeEvent() const; |
| 554 virtual void setChangedSinceLastFormControlChangeEvent(bool); | 554 virtual void setChangedSinceLastFormControlChangeEvent(bool); |
| 555 virtual void dispatchFormControlChangeEvent() { } | 555 virtual void dispatchFormControlChangeEvent() { } |
| 556 | 556 |
| 557 // Used for disabled form elements; if true, prevents mouse events from bein
g dispatched | 557 // Used for disabled form elements; if true, prevents mouse events from bein
g dispatched |
| 558 // to event listeners, and prevents DOMActivate events from being sent at al
l. | 558 // to event listeners, and prevents DOMActivate events from being sent at al
l. |
| 559 virtual bool isDisabledFormControl() const; | 559 virtual bool isDisabledFormControl() const; |
| 560 | 560 |
| 561 bool isInert() const; | 561 bool isInert() const; |
| 562 virtual bool isReparentedByRenderView(const RenderStyle*) const { return isI
nTopLayer(); } |
| 562 | 563 |
| 563 #if ENABLE(SVG) | 564 #if ENABLE(SVG) |
| 564 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; | 565 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; |
| 565 bool hasPendingResources() const; | 566 bool hasPendingResources() const; |
| 566 void setHasPendingResources(); | 567 void setHasPendingResources(); |
| 567 void clearHasPendingResources(); | 568 void clearHasPendingResources(); |
| 568 virtual void buildPendingResource() { }; | 569 virtual void buildPendingResource() { }; |
| 569 #endif | 570 #endif |
| 570 | 571 |
| 571 enum { | 572 enum { |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 | 1008 |
| 1008 inline const Attribute* ElementData::attributeItem(unsigned index) const | 1009 inline const Attribute* ElementData::attributeItem(unsigned index) const |
| 1009 { | 1010 { |
| 1010 RELEASE_ASSERT(index < length()); | 1011 RELEASE_ASSERT(index < length()); |
| 1011 return attributeBase() + index; | 1012 return attributeBase() + index; |
| 1012 } | 1013 } |
| 1013 | 1014 |
| 1014 } // namespace | 1015 } // namespace |
| 1015 | 1016 |
| 1016 #endif | 1017 #endif |
| OLD | NEW |