| 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 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 void insertAdjacentText(const String& where, const String& text, ExceptionSt
ate&); | 397 void insertAdjacentText(const String& where, const String& text, ExceptionSt
ate&); |
| 398 void insertAdjacentHTML(const String& where, const String& html, ExceptionSt
ate&); | 398 void insertAdjacentHTML(const String& where, const String& html, ExceptionSt
ate&); |
| 399 | 399 |
| 400 String textFromChildren(); | 400 String textFromChildren(); |
| 401 | 401 |
| 402 virtual String title() const { return String(); } | 402 virtual String title() const { return String(); } |
| 403 | 403 |
| 404 virtual const AtomicString& shadowPseudoId() const; | 404 virtual const AtomicString& shadowPseudoId() const; |
| 405 void setShadowPseudoId(const AtomicString&); | 405 void setShadowPseudoId(const AtomicString&); |
| 406 | 406 |
| 407 LayoutSize minimumSizeForResizing() const; |
| 408 void setMinimumSizeForResizing(const LayoutSize&); |
| 409 |
| 407 virtual void didBecomeFullscreenElement() { } | 410 virtual void didBecomeFullscreenElement() { } |
| 408 virtual void willStopBeingFullscreenElement() { } | 411 virtual void willStopBeingFullscreenElement() { } |
| 409 | 412 |
| 410 // Called by the parser when this element's close tag is reached, | 413 // Called by the parser when this element's close tag is reached, |
| 411 // signaling that all child tags have been parsed and added. | 414 // signaling that all child tags have been parsed and added. |
| 412 // This is needed for <applet> and <object> elements, which can't lay themse
lves out | 415 // This is needed for <applet> and <object> elements, which can't lay themse
lves out |
| 413 // until they know all of their nested <param>s. [Radar 3603191, 4040848]. | 416 // until they know all of their nested <param>s. [Radar 3603191, 4040848]. |
| 414 // Also used for script elements and some SVG elements for similar purposes, | 417 // Also used for script elements and some SVG elements for similar purposes, |
| 415 // but making parsing a special case in this respect should be avoided if po
ssible. | 418 // but making parsing a special case in this respect should be avoided if po
ssible. |
| 416 virtual void finishParsingChildren(); | 419 virtual void finishParsingChildren(); |
| (...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 882 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 885 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 883 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 886 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 884 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 887 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 885 { \ | 888 { \ |
| 886 return adoptRefWillBeNoop(new T(tagName, document)); \ | 889 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 887 } | 890 } |
| 888 | 891 |
| 889 } // namespace | 892 } // namespace |
| 890 | 893 |
| 891 #endif | 894 #endif |
| OLD | NEW |