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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 | 410 |
411 virtual const AtomicString& shadowPseudoId() const; | 411 virtual const AtomicString& shadowPseudoId() const; |
412 void setShadowPseudoId(const AtomicString&); | 412 void setShadowPseudoId(const AtomicString&); |
413 | 413 |
414 LayoutSize minimumSizeForResizing() const; | 414 LayoutSize minimumSizeForResizing() const; |
415 void setMinimumSizeForResizing(const LayoutSize&); | 415 void setMinimumSizeForResizing(const LayoutSize&); |
416 | 416 |
417 virtual void didBecomeFullscreenElement() { } | 417 virtual void didBecomeFullscreenElement() { } |
418 virtual void willStopBeingFullscreenElement() { } | 418 virtual void willStopBeingFullscreenElement() { } |
419 | 419 |
420 // FIXME: Pick one name and remove the other method. | 420 using Node::isFinishedParsingChildren; // make public for SelectorChecker |
421 bool isFinishedParsingChildren() const { return isParsingChildrenFinished();
} | |
422 | 421 |
423 // Called by the parser when this element's close tag is reached, | 422 // Called by the parser when this element's close tag is reached, |
424 // signaling that all child tags have been parsed and added. | 423 // signaling that all child tags have been parsed and added. |
425 // This is needed for <applet> and <object> elements, which can't lay themse
lves out | 424 // This is needed for <applet> and <object> elements, which can't lay themse
lves out |
426 // until they know all of their nested <param>s. [Radar 3603191, 4040848]. | 425 // until they know all of their nested <param>s. [Radar 3603191, 4040848]. |
427 // Also used for script elements and some SVG elements for similar purposes, | 426 // Also used for script elements and some SVG elements for similar purposes, |
428 // but making parsing a special case in this respect should be avoided if po
ssible. | 427 // but making parsing a special case in this respect should be avoided if po
ssible. |
429 virtual void finishParsingChildren(); | 428 virtual void finishParsingChildren(); |
430 | 429 |
431 void beginParsingChildren() { setIsParsingChildrenFinished(false); } | 430 void beginParsingChildren() { setIsFinishedParsingChildren(false); } |
432 | 431 |
433 PseudoElement* pseudoElement(PseudoId) const; | 432 PseudoElement* pseudoElement(PseudoId) const; |
434 RenderObject* pseudoElementRenderer(PseudoId) const; | 433 RenderObject* pseudoElementRenderer(PseudoId) const; |
435 | 434 |
436 virtual bool matchesReadOnlyPseudoClass() const { return false; } | 435 virtual bool matchesReadOnlyPseudoClass() const { return false; } |
437 virtual bool matchesReadWritePseudoClass() const { return false; } | 436 virtual bool matchesReadWritePseudoClass() const { return false; } |
438 bool matches(const String& selectors, ExceptionState&); | 437 bool matches(const String& selectors, ExceptionState&); |
439 virtual bool shouldAppearIndeterminate() const { return false; } | 438 virtual bool shouldAppearIndeterminate() const { return false; } |
440 | 439 |
441 DOMTokenList* classList(); | 440 DOMTokenList* classList(); |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 } | 890 } |
892 | 891 |
893 inline bool isShadowHost(const Element* element) | 892 inline bool isShadowHost(const Element* element) |
894 { | 893 { |
895 return element && element->shadow(); | 894 return element && element->shadow(); |
896 } | 895 } |
897 | 896 |
898 } // namespace | 897 } // namespace |
899 | 898 |
900 #endif | 899 #endif |
OLD | NEW |