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