https://bugs.webkit.org/show_bug.cgi?id=68884
Reviewed by Philippe Normand.
Add compatibility methods for our DOM bindings.
* bindings/gobject/WebKitDOMCustom.cpp:
(webkit_dom_blob_slice): alias to the new method name.
(webkit_dom_html_form_element_dispatch_form_change): this was
removed from WebCore, so just print a warning about it.
(webkit_dom_html_form_element_dispatch_form_input): ditto.
* bindings/gobject/WebKitDOMCustom.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96093
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-09-27 Xan Lopez <xlopez@igalia.com>
+
+ [GTK] Add compatibility methods for DOM bindings
+ https://bugs.webkit.org/show_bug.cgi?id=68884
+
+ Reviewed by Philippe Normand.
+
+ Add compatibility methods for our DOM bindings.
+
+ * bindings/gobject/WebKitDOMCustom.cpp:
+ (webkit_dom_blob_slice): alias to the new method name.
+ (webkit_dom_html_form_element_dispatch_form_change): this was
+ removed from WebCore, so just print a warning about it.
+ (webkit_dom_html_form_element_dispatch_form_input): ditto.
+ * bindings/gobject/WebKitDOMCustom.h:
+
2011-09-27 Ryosuke Niwa <rniwa@webkit.org>
Encapsulate m_firstNodeInserted and m_lastLeafInserted in node insertion logic
#include "config.h"
#include "WebKitDOMCustom.h"
+#include "WebKitDOMBlob.h"
+#include "WebKitDOMHTMLFormElement.h"
#include "WebKitDOMHTMLInputElement.h"
#include "WebKitDOMHTMLInputElementPrivate.h"
#include "WebKitDOMHTMLTextAreaElement.h"
return core(input)->lastChangeWasUserEdit();
}
+/* Compatibility */
+WebKitDOMBlob*
+webkit_dom_blob_slice(WebKitDOMBlob* self, gint64 start, gint64 end, const gchar* content_type)
+{
+ return webkit_dom_blob_webkit_slice(self, start, end, content_type);
+}
+
+void
+webkit_dom_html_form_element_dispatch_form_change(WebKitDOMHTMLFormElement* self)
+{
+ g_warning("The onformchange functionality has been removed from the DOM spec, this function does nothing.");
+}
+
+void
+webkit_dom_html_form_element_dispatch_form_input(WebKitDOMHTMLFormElement* self)
+{
+ g_warning("The onforminput functionality has been removed from the DOM spec, this function does nothing.");
+}
+
+
WEBKIT_API gboolean webkit_dom_html_text_area_element_is_edited(WebKitDOMHTMLTextAreaElement*);
WEBKIT_API gboolean webkit_dom_html_input_element_is_edited(WebKitDOMHTMLInputElement*);
+/* Compatibility */
+WEBKIT_API WebKitDOMBlob* webkit_dom_blob_slice(WebKitDOMBlob* self, gint64 start, gint64 end, const gchar* content_type);
+WEBKIT_API void webkit_dom_html_form_element_dispatch_form_change(WebKitDOMHTMLFormElement* self);
+WEBKIT_API void webkit_dom_html_form_element_dispatch_form_input(WebKitDOMHTMLFormElement* self);
+
G_END_DECLS
#endif