summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/history/HistoryItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/history/HistoryItem.cpp')
-rw-r--r--src/3rdparty/webkit/WebCore/history/HistoryItem.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/WebCore/history/HistoryItem.cpp b/src/3rdparty/webkit/WebCore/history/HistoryItem.cpp
index 493a39b..6156524 100644
--- a/src/3rdparty/webkit/WebCore/history/HistoryItem.cpp
+++ b/src/3rdparty/webkit/WebCore/history/HistoryItem.cpp
@@ -435,6 +435,11 @@ bool HistoryItem::hasChildren() const
return !m_children.isEmpty();
}
+void HistoryItem::clearChildren()
+{
+ m_children.clear();
+}
+
String HistoryItem::formContentType() const
{
return m_formContentType;
@@ -455,6 +460,16 @@ void HistoryItem::setFormInfoFromRequest(const ResourceRequest& request)
}
}
+void HistoryItem::setFormData(PassRefPtr<FormData> formData)
+{
+ m_formData = formData;
+}
+
+void HistoryItem::setFormContentType(const String& formContentType)
+{
+ m_formContentType = formContentType;
+}
+
FormData* HistoryItem::formData()
{
return m_formData.get();