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 | |
90 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy); | 85 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy); |
91 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut); | 86 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut); |
92 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste); | 87 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste); |
93 DEFINE_ATTRIBUTE_EVENT_LISTENER(copy); | 88 DEFINE_ATTRIBUTE_EVENT_LISTENER(copy); |
94 DEFINE_ATTRIBUTE_EVENT_LISTENER(cut); | 89 DEFINE_ATTRIBUTE_EVENT_LISTENER(cut); |
95 DEFINE_ATTRIBUTE_EVENT_LISTENER(paste); | 90 DEFINE_ATTRIBUTE_EVENT_LISTENER(paste); |
96 DEFINE_ATTRIBUTE_EVENT_LISTENER(search); | 91 DEFINE_ATTRIBUTE_EVENT_LISTENER(search); |
97 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart); | 92 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart); |
98 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel); | 93 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel); |
99 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend); | 94 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend); |
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 } | 862 } |
868 | 863 |
869 inline bool isShadowHost(const Element* element) | 864 inline bool isShadowHost(const Element* element) |
870 { | 865 { |
871 return element && element->shadow(); | 866 return element && element->shadow(); |
872 } | 867 } |
873 | 868 |
874 } // namespace | 869 } // namespace |
875 | 870 |
876 #endif | 871 #endif |
OLD | NEW |