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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 virtual void removedFrom(ContainerNode*) OVERRIDE; | 526 virtual void removedFrom(ContainerNode*) OVERRIDE; |
527 virtual void childrenChanged(const ChildrenChange&) OVERRIDE; | 527 virtual void childrenChanged(const ChildrenChange&) OVERRIDE; |
528 | 528 |
529 virtual void willRecalcStyle(StyleRecalcChange); | 529 virtual void willRecalcStyle(StyleRecalcChange); |
530 virtual void didRecalcStyle(StyleRecalcChange); | 530 virtual void didRecalcStyle(StyleRecalcChange); |
531 virtual PassRefPtr<RenderStyle> customStyleForRenderer(); | 531 virtual PassRefPtr<RenderStyle> customStyleForRenderer(); |
532 | 532 |
533 virtual bool shouldRegisterAsNamedItem() const { return false; } | 533 virtual bool shouldRegisterAsNamedItem() const { return false; } |
534 virtual bool shouldRegisterAsExtraNamedItem() const { return false; } | 534 virtual bool shouldRegisterAsExtraNamedItem() const { return false; } |
535 | 535 |
536 virtual bool supportsSpatialNavigationFocus() const; | 536 bool supportsSpatialNavigationFocus() const; |
537 | 537 |
538 void clearTabIndexExplicitlyIfNeeded(); | 538 void clearTabIndexExplicitlyIfNeeded(); |
539 void setTabIndexExplicitly(short); | 539 void setTabIndexExplicitly(short); |
540 // Subclasses may override this method to affect focusability. Unlike | 540 // Subclasses may override this method to affect focusability. Unlike |
541 // supportsFocus, this method must be called on an up-to-date layout, so it | 541 // supportsFocus, this method must be called on an up-to-date layout, so it |
542 // may use the renderer to reason about focusability. This method cannot be | 542 // may use the renderer to reason about focusability. This method cannot be |
543 // moved to RenderObject because some focusable nodes don't have renderers, | 543 // moved to RenderObject because some focusable nodes don't have renderers, |
544 // e.g., HTMLOptionElement. | 544 // e.g., HTMLOptionElement. |
545 virtual bool rendererIsFocusable() const; | 545 virtual bool rendererIsFocusable() const; |
546 PassRefPtrWillBeRawPtr<HTMLCollection> ensureCachedHTMLCollection(Collection
Type); | 546 PassRefPtrWillBeRawPtr<HTMLCollection> ensureCachedHTMLCollection(Collection
Type); |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 883 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
884 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 884 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
885 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 885 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
886 { \ | 886 { \ |
887 return adoptRefWillBeNoop(new T(tagName, document)); \ | 887 return adoptRefWillBeNoop(new T(tagName, document)); \ |
888 } | 888 } |
889 | 889 |
890 } // namespace | 890 } // namespace |
891 | 891 |
892 #endif | 892 #endif |
OLD | NEW |