| 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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 virtual const AtomicString& formControlType() const { return nullAtom; } | 551 virtual const AtomicString& formControlType() const { return nullAtom; } |
| 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 #if ENABLE(DIALOG_ELEMENT) | |
| 562 bool isInert() const; | 561 bool isInert() const; |
| 563 #endif | |
| 564 | 562 |
| 565 #if ENABLE(SVG) | 563 #if ENABLE(SVG) |
| 566 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; | 564 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; |
| 567 bool hasPendingResources() const; | 565 bool hasPendingResources() const; |
| 568 void setHasPendingResources(); | 566 void setHasPendingResources(); |
| 569 void clearHasPendingResources(); | 567 void clearHasPendingResources(); |
| 570 virtual void buildPendingResource() { }; | 568 virtual void buildPendingResource() { }; |
| 571 #endif | 569 #endif |
| 572 | 570 |
| 573 enum { | 571 enum { |
| 574 ALLOW_KEYBOARD_INPUT = 1 << 0, | 572 ALLOW_KEYBOARD_INPUT = 1 << 0, |
| 575 LEGACY_MOZILLA_REQUEST = 1 << 1, | 573 LEGACY_MOZILLA_REQUEST = 1 << 1, |
| 576 }; | 574 }; |
| 577 | 575 |
| 578 void webkitRequestFullScreen(unsigned short flags); | 576 void webkitRequestFullScreen(unsigned short flags); |
| 579 virtual bool containsFullScreenElement() const; | 577 virtual bool containsFullScreenElement() const; |
| 580 virtual void setContainsFullScreenElement(bool); | 578 virtual void setContainsFullScreenElement(bool); |
| 581 virtual void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(
bool); | 579 virtual void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(
bool); |
| 582 | 580 |
| 583 // W3C API | 581 // W3C API |
| 584 void webkitRequestFullscreen(); | 582 void webkitRequestFullscreen(); |
| 585 | 583 |
| 586 #if ENABLE(DIALOG_ELEMENT) | |
| 587 bool isInTopLayer() const; | 584 bool isInTopLayer() const; |
| 588 void setIsInTopLayer(bool); | 585 void setIsInTopLayer(bool); |
| 589 #endif | |
| 590 | 586 |
| 591 void webkitRequestPointerLock(); | 587 void webkitRequestPointerLock(); |
| 592 | 588 |
| 593 virtual bool isSpellCheckingEnabled() const; | 589 virtual bool isSpellCheckingEnabled() const; |
| 594 | 590 |
| 595 PassRefPtr<RenderStyle> styleForRenderer(); | 591 PassRefPtr<RenderStyle> styleForRenderer(); |
| 596 | 592 |
| 597 RenderRegion* renderRegion() const; | 593 RenderRegion* renderRegion() const; |
| 598 #if ENABLE(CSS_REGIONS) | 594 #if ENABLE(CSS_REGIONS) |
| 599 const AtomicString& webkitRegionOverset() const; | 595 const AtomicString& webkitRegionOverset() const; |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1011 | 1007 |
| 1012 inline const Attribute* ElementData::attributeItem(unsigned index) const | 1008 inline const Attribute* ElementData::attributeItem(unsigned index) const |
| 1013 { | 1009 { |
| 1014 RELEASE_ASSERT(index < length()); | 1010 RELEASE_ASSERT(index < length()); |
| 1015 return attributeBase() + index; | 1011 return attributeBase() + index; |
| 1016 } | 1012 } |
| 1017 | 1013 |
| 1018 } // namespace | 1014 } // namespace |
| 1019 | 1015 |
| 1020 #endif | 1016 #endif |
| OLD | NEW |