| 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-2011, 2013, 2014 Apple Inc. All rights reserved. | 6 * Copyright (C) 2003-2011, 2013, 2014 Apple 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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 bool supportsSpatialNavigationFocus() const; | 532 bool supportsSpatialNavigationFocus() const; |
| 533 | 533 |
| 534 void clearTabIndexExplicitlyIfNeeded(); | 534 void clearTabIndexExplicitlyIfNeeded(); |
| 535 void setTabIndexExplicitly(short); | 535 void setTabIndexExplicitly(short); |
| 536 // Subclasses may override this method to affect focusability. Unlike | 536 // Subclasses may override this method to affect focusability. Unlike |
| 537 // supportsFocus, this method must be called on an up-to-date layout, so it | 537 // supportsFocus, this method must be called on an up-to-date layout, so it |
| 538 // may use the renderer to reason about focusability. This method cannot be | 538 // may use the renderer to reason about focusability. This method cannot be |
| 539 // moved to RenderObject because some focusable nodes don't have renderers, | 539 // moved to RenderObject because some focusable nodes don't have renderers, |
| 540 // e.g., HTMLOptionElement. | 540 // e.g., HTMLOptionElement. |
| 541 virtual bool rendererIsFocusable() const; | 541 virtual bool rendererIsFocusable() const; |
| 542 PassRefPtrWillBeRawPtr<HTMLCollection> ensureCachedHTMLCollection(Collection
Type); | |
| 543 HTMLCollection* cachedHTMLCollection(CollectionType); | |
| 544 | 542 |
| 545 // classAttributeChanged() exists to share code between | 543 // classAttributeChanged() exists to share code between |
| 546 // parseAttribute (called via setAttribute()) and | 544 // parseAttribute (called via setAttribute()) and |
| 547 // svgAttributeChanged (called when element.className.baseValue is set) | 545 // svgAttributeChanged (called when element.className.baseValue is set) |
| 548 void classAttributeChanged(const AtomicString& newClassString); | 546 void classAttributeChanged(const AtomicString& newClassString); |
| 549 | 547 |
| 550 PassRefPtr<RenderStyle> originalStyleForRenderer(); | 548 PassRefPtr<RenderStyle> originalStyleForRenderer(); |
| 551 | 549 |
| 552 Node* insertAdjacent(const String& where, Node* newChild, ExceptionState&); | 550 Node* insertAdjacent(const String& where, Node* newChild, ExceptionState&); |
| 553 | 551 |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 853 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 851 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 854 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 852 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 855 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 853 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 856 { \ | 854 { \ |
| 857 return adoptRefWillBeNoop(new T(tagName, document)); \ | 855 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 858 } | 856 } |
| 859 | 857 |
| 860 } // namespace | 858 } // namespace |
| 861 | 859 |
| 862 #endif | 860 #endif |
| OLD | NEW |