summaryrefslogtreecommitdiffstats
path: root/WebCore/editing/InsertListCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/editing/InsertListCommand.h')
-rw-r--r--WebCore/editing/InsertListCommand.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/WebCore/editing/InsertListCommand.h b/WebCore/editing/InsertListCommand.h
index e9a8da9..b39f2b5 100644
--- a/WebCore/editing/InsertListCommand.h
+++ b/WebCore/editing/InsertListCommand.h
@@ -30,6 +30,8 @@
namespace WebCore {
+class HTMLElement;
+
class InsertListCommand : public CompositeEditCommand {
public:
enum Type { OrderedList, UnorderedList };
@@ -39,7 +41,7 @@ public:
return adoptRef(new InsertListCommand(document, listType, listID));
}
- static PassRefPtr<Node> insertList(Document*, Type);
+ static PassRefPtr<HTMLElement> insertList(Document*, Type);
virtual bool preservesTypingStyle() const { return true; }
@@ -49,9 +51,9 @@ private:
virtual void doApply();
virtual EditAction editingAction() const { return EditActionInsertList; }
- Node* fixOrphanedListChild(Node*);
+ HTMLElement* fixOrphanedListChild(Node*);
bool modifyRange();
- RefPtr<Node> m_listElement;
+ RefPtr<HTMLElement> m_listElement;
Type m_type;
String m_id;
bool m_forceCreateList;