Changeset 96093 in webkit


Ignore:
Timestamp:
Sep 27, 2011 3:28:00 AM (13 years ago)
Author:
xan@webkit.org
Message:

[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:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r96084 r96093  
     12011-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
    1172011-09-27  Ryosuke Niwa  <rniwa@webkit.org>
    218
  • trunk/Source/WebCore/bindings/gobject/WebKitDOMCustom.cpp

    r95901 r96093  
    2020#include "WebKitDOMCustom.h"
    2121
     22#include "WebKitDOMBlob.h"
     23#include "WebKitDOMHTMLFormElement.h"
    2224#include "WebKitDOMHTMLInputElement.h"
    2325#include "WebKitDOMHTMLInputElementPrivate.h"
     
    4143}
    4244
     45/* Compatibility */
     46WebKitDOMBlob*
     47webkit_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
     52void
     53webkit_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
     58void
     59webkit_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  
    2929WEBKIT_API gboolean webkit_dom_html_input_element_is_edited(WebKitDOMHTMLInputElement*);
    3030
     31/* Compatibility */
     32WEBKIT_API WebKitDOMBlob* webkit_dom_blob_slice(WebKitDOMBlob* self, gint64 start, gint64 end, const gchar* content_type);
     33WEBKIT_API void webkit_dom_html_form_element_dispatch_form_change(WebKitDOMHTMLFormElement* self);
     34WEBKIT_API void webkit_dom_html_form_element_dispatch_form_input(WebKitDOMHTMLFormElement* self);
     35
    3136G_END_DECLS
    3237
Note: See TracChangeset for help on using the changeset viewer.