| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 SpellcheckAttributeTrue, | 75 SpellcheckAttributeTrue, |
| 76 SpellcheckAttributeFalse, | 76 SpellcheckAttributeFalse, |
| 77 SpellcheckAttributeDefault | 77 SpellcheckAttributeDefault |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 class Element : public ContainerNode { | 80 class Element : public ContainerNode { |
| 81 public: | 81 public: |
| 82 static PassRefPtr<Element> create(const QualifiedName&, Document*); | 82 static PassRefPtr<Element> create(const QualifiedName&, Document*); |
| 83 virtual ~Element(); | 83 virtual ~Element(); |
| 84 | 84 |
| 85 String innerHTML() const; |
| 86 String outerHTML() const; |
| 87 void setInnerHTML(const String&, ExceptionState&); |
| 88 void setOuterHTML(const String&, ExceptionState&); |
| 89 |
| 85 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort); | 90 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort); |
| 86 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy); | 91 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy); |
| 87 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut); | 92 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut); |
| 88 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste); | 93 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste); |
| 89 DEFINE_ATTRIBUTE_EVENT_LISTENER(cancel); | 94 DEFINE_ATTRIBUTE_EVENT_LISTENER(cancel); |
| 90 DEFINE_ATTRIBUTE_EVENT_LISTENER(canplay); | 95 DEFINE_ATTRIBUTE_EVENT_LISTENER(canplay); |
| 91 DEFINE_ATTRIBUTE_EVENT_LISTENER(canplaythrough); | 96 DEFINE_ATTRIBUTE_EVENT_LISTENER(canplaythrough); |
| 92 DEFINE_ATTRIBUTE_EVENT_LISTENER(change); | 97 DEFINE_ATTRIBUTE_EVENT_LISTENER(change); |
| 93 DEFINE_ATTRIBUTE_EVENT_LISTENER(click); | 98 DEFINE_ATTRIBUTE_EVENT_LISTENER(click); |
| 94 DEFINE_ATTRIBUTE_EVENT_LISTENER(close); | 99 DEFINE_ATTRIBUTE_EVENT_LISTENER(close); |
| (...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 916 } | 921 } |
| 917 | 922 |
| 918 inline bool isShadowHost(const Element* element) | 923 inline bool isShadowHost(const Element* element) |
| 919 { | 924 { |
| 920 return element && element->shadow(); | 925 return element && element->shadow(); |
| 921 } | 926 } |
| 922 | 927 |
| 923 } // namespace | 928 } // namespace |
| 924 | 929 |
| 925 #endif | 930 #endif |
| OLD | NEW |