Changeset 96093 in webkit
- Timestamp:
- Sep 27, 2011 3:28:00 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r96084 r96093 1 2011-09-27 Xan Lopez <xlopez@igalia.com> 2 3 [GTK] Add compatibility methods for DOM bindings 4 https://bugs.webkit.org/show_bug.cgi?id=68884 5 6 Reviewed by Philippe Normand. 7 8 Add compatibility methods for our DOM bindings. 9 10 * bindings/gobject/WebKitDOMCustom.cpp: 11 (webkit_dom_blob_slice): alias to the new method name. 12 (webkit_dom_html_form_element_dispatch_form_change): this was 13 removed from WebCore, so just print a warning about it. 14 (webkit_dom_html_form_element_dispatch_form_input): ditto. 15 * bindings/gobject/WebKitDOMCustom.h: 16 1 17 2011-09-27 Ryosuke Niwa <rniwa@webkit.org> 2 18 -
trunk/Source/WebCore/bindings/gobject/WebKitDOMCustom.cpp
r95901 r96093 20 20 #include "WebKitDOMCustom.h" 21 21 22 #include "WebKitDOMBlob.h" 23 #include "WebKitDOMHTMLFormElement.h" 22 24 #include "WebKitDOMHTMLInputElement.h" 23 25 #include "WebKitDOMHTMLInputElementPrivate.h" … … 41 43 } 42 44 45 /* Compatibility */ 46 WebKitDOMBlob* 47 webkit_dom_blob_slice(WebKitDOMBlob* self, gint64 start, gint64 end, const gchar* content_type) 48 { 49 return webkit_dom_blob_webkit_slice(self, start, end, content_type); 50 } 51 52 void 53 webkit_dom_html_form_element_dispatch_form_change(WebKitDOMHTMLFormElement* self) 54 { 55 g_warning("The onformchange functionality has been removed from the DOM spec, this function does nothing."); 56 } 57 58 void 59 webkit_dom_html_form_element_dispatch_form_input(WebKitDOMHTMLFormElement* self) 60 { 61 g_warning("The onforminput functionality has been removed from the DOM spec, this function does nothing."); 62 } 63 64 -
trunk/Source/WebCore/bindings/gobject/WebKitDOMCustom.h
r95901 r96093 29 29 WEBKIT_API gboolean webkit_dom_html_input_element_is_edited(WebKitDOMHTMLInputElement*); 30 30 31 /* Compatibility */ 32 WEBKIT_API WebKitDOMBlob* webkit_dom_blob_slice(WebKitDOMBlob* self, gint64 start, gint64 end, const gchar* content_type); 33 WEBKIT_API void webkit_dom_html_form_element_dispatch_form_change(WebKitDOMHTMLFormElement* self); 34 WEBKIT_API void webkit_dom_html_form_element_dispatch_form_input(WebKitDOMHTMLFormElement* self); 35 31 36 G_END_DECLS 32 37
Note: See TracChangeset
for help on using the changeset viewer.