Title: [167708] trunk
Revision
167708
Author
commit-qu...@webkit.org
Date
2014-04-23 06:43:12 -0700 (Wed, 23 Apr 2014)

Log Message

[GTK] ShadowRoot API was removed in r164131
https://bugs.webkit.org/show_bug.cgi?id=132059

Source/WebCore:
Patch by Philippe Normand <pnorm...@igalia.com> on 2014-04-23
Reviewed by Gustavo Noronha Silva.

Add ShadowRoot removed API to WebKitDOMDeprecated to keep API/ABI compatibility.

* bindings/gobject/WebKitDOMDeprecated.cpp:
(webkit_dom_shadow_root_class_init):
(webkit_dom_shadow_root_init):
(webkit_dom_shadow_root_element_from_point):
(webkit_dom_shadow_root_get_active_element):
(webkit_dom_shadow_root_get_apply_author_styles):
(webkit_dom_shadow_root_get_element_by_id):
(webkit_dom_shadow_root_get_elements_by_class_name):
(webkit_dom_shadow_root_get_elements_by_tag_name):
(webkit_dom_shadow_root_get_elements_by_tag_name_ns):
(webkit_dom_shadow_root_get_inner_html):
(webkit_dom_shadow_root_get_reset_style_inheritance):
(webkit_dom_shadow_root_get_selection):
(webkit_dom_shadow_root_set_apply_author_styles):
(webkit_dom_shadow_root_set_inner_html):
(webkit_dom_shadow_root_set_reset_style_inheritance):
* bindings/gobject/WebKitDOMDeprecated.h:
* bindings/gobject/WebKitDOMDeprecated.symbols:

Tools:
Patch by Carlos Garcia Campos <cgar...@igalia.com> on 2014-04-23
Reviewed by Gustavo Noronha Silva.

Add WebKitDOMShadowRoot to the list of deleted classes to generate
the API docs.

* gtk/webkitdom.py:
(WebKitDOMDocGenerator):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (167707 => 167708)


--- trunk/Source/WebCore/ChangeLog	2014-04-23 13:36:30 UTC (rev 167707)
+++ trunk/Source/WebCore/ChangeLog	2014-04-23 13:43:12 UTC (rev 167708)
@@ -1,3 +1,31 @@
+2014-04-23  Philippe Normand  <pnorm...@igalia.com>
+
+        [GTK] ShadowRoot API was removed in r164131
+        https://bugs.webkit.org/show_bug.cgi?id=132059
+
+        Reviewed by Gustavo Noronha Silva.
+
+        Add ShadowRoot removed API to WebKitDOMDeprecated to keep API/ABI compatibility.
+
+        * bindings/gobject/WebKitDOMDeprecated.cpp:
+        (webkit_dom_shadow_root_class_init):
+        (webkit_dom_shadow_root_init):
+        (webkit_dom_shadow_root_element_from_point):
+        (webkit_dom_shadow_root_get_active_element):
+        (webkit_dom_shadow_root_get_apply_author_styles):
+        (webkit_dom_shadow_root_get_element_by_id):
+        (webkit_dom_shadow_root_get_elements_by_class_name):
+        (webkit_dom_shadow_root_get_elements_by_tag_name):
+        (webkit_dom_shadow_root_get_elements_by_tag_name_ns):
+        (webkit_dom_shadow_root_get_inner_html):
+        (webkit_dom_shadow_root_get_reset_style_inheritance):
+        (webkit_dom_shadow_root_get_selection):
+        (webkit_dom_shadow_root_set_apply_author_styles):
+        (webkit_dom_shadow_root_set_inner_html):
+        (webkit_dom_shadow_root_set_reset_style_inheritance):
+        * bindings/gobject/WebKitDOMDeprecated.h:
+        * bindings/gobject/WebKitDOMDeprecated.symbols:
+
 2014-04-23  Morten Stenshorne  <msten...@opera.com>
 
         [New Multicolumn] fast/multicol/overflow-content.html displays red

Modified: trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.cpp (167707 => 167708)


--- trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.cpp	2014-04-23 13:36:30 UTC (rev 167707)
+++ trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.cpp	2014-04-23 13:43:12 UTC (rev 167708)
@@ -552,3 +552,97 @@
     g_warning("%s: this functionality has been removed from WebKit, this function does nothing.", __func__);
 }
 
+// WebKitDOMShadowRoot
+
+typedef struct _WebKitDOMShadowRoot {
+    WebKitDOMObject parent_instance;
+} WebKitDOMShadowRoot;
+
+typedef struct _WebKitDOMShadowRootClass {
+    WebKitDOMObjectClass parent_class;
+} WebKitDOMShadowRootClass;
+
+G_DEFINE_TYPE(WebKitDOMShadowRoot, webkit_dom_shadow_root, WEBKIT_TYPE_DOM_OBJECT)
+
+static void webkit_dom_shadow_root_class_init(WebKitDOMShadowRootClass*)
+{
+}
+
+static void webkit_dom_shadow_root_init(WebKitDOMShadowRoot*)
+{
+}
+
+WebKitDOMElement* webkit_dom_shadow_root_element_from_point(WebKitDOMShadowRoot*, glong, glong)
+{
+    g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__);
+    return 0;
+}
+
+WebKitDOMElement* webkit_dom_shadow_root_get_active_element(WebKitDOMShadowRoot*)
+{
+    g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__);
+    return 0;
+}
+
+gboolean webkit_dom_shadow_root_get_apply_author_styles(WebKitDOMShadowRoot*)
+{
+    g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__);
+    return 0;
+}
+
+WebKitDOMElement* webkit_dom_shadow_root_get_element_by_id(WebKitDOMShadowRoot*, const gchar*)
+{
+    g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__);
+    return 0;
+}
+
+WebKitDOMNodeList* webkit_dom_shadow_root_get_elements_by_class_name(WebKitDOMShadowRoot*, const gchar*)
+{
+    g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__);
+    return 0;
+}
+
+WebKitDOMNodeList* webkit_dom_shadow_root_get_elements_by_tag_name(WebKitDOMShadowRoot*, const gchar*)
+{
+    g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__);
+    return 0;
+}
+
+WebKitDOMNodeList* webkit_dom_shadow_root_get_elements_by_tag_name_ns(WebKitDOMShadowRoot*, const gchar*, const gchar*)
+{
+    g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__);
+    return 0;
+}
+
+gchar* webkit_dom_shadow_root_get_inner_html(WebKitDOMShadowRoot*)
+{
+    g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__);
+    return 0;
+}
+
+gboolean webkit_dom_shadow_root_get_reset_style_inheritance(WebKitDOMShadowRoot*)
+{
+    g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__);
+    return FALSE;
+}
+
+WebKitDOMDOMSelection* webkit_dom_shadow_root_get_selection(WebKitDOMShadowRoot*)
+{
+    g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__);
+    return 0;
+}
+
+void webkit_dom_shadow_root_set_apply_author_styles(WebKitDOMShadowRoot*, gboolean)
+{
+    g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__);
+}
+
+void webkit_dom_shadow_root_set_inner_html(WebKitDOMShadowRoot*, const gchar*, GError**)
+{
+    g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__);
+}
+
+void webkit_dom_shadow_root_set_reset_style_inheritance(WebKitDOMShadowRoot*, gboolean)
+{
+    g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__);
+}

Modified: trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.h (167707 => 167708)


--- trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.h	2014-04-23 13:36:30 UTC (rev 167707)
+++ trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.h	2014-04-23 13:43:12 UTC (rev 167708)
@@ -564,6 +564,186 @@
 WEBKIT_DEPRECATED void
 webkit_dom_processing_instruction_set_data(WebKitDOMProcessingInstruction* self, const gchar* value, GError** error);
 
+WEBKIT_DEPRECATED GType
+webkit_dom_shadow_root_get_type(void);
+
+typedef struct _WebKitDOMShadowRoot WebKitDOMShadowRoot;
+
+/**
+ * webkit_dom_shadow_root_element_from_point:
+ * @self: A #WebKitDOMShadowRoot
+ * @x: A #glong
+ * @y: A #glong
+ *
+ * This functionality has been removed from WebKit, this function does nothing.
+ *
+ * Returns: (transfer none): a #WebKitDOMElement
+ *
+ * Deprecated: 2.6
+ */
+WEBKIT_DEPRECATED WebKitDOMElement*
+webkit_dom_shadow_root_element_from_point(WebKitDOMShadowRoot* self, glong x, glong y);
+
+/**
+ * webkit_dom_shadow_root_get_active_element:
+ * @self: A #WebKitDOMShadowRoot
+ *
+ * This functionality has been removed from WebKit, this function does nothing.
+ *
+ * Returns: (transfer none): a #WebKitDOMElement
+ *
+ * Deprecated: 2.6
+ */
+WEBKIT_DEPRECATED WebKitDOMElement*
+webkit_dom_shadow_root_get_active_element(WebKitDOMShadowRoot* self);
+
+/**
+ * webkit_dom_shadow_root_get_apply_author_styles:
+ * @self: A #WebKitDOMShadowRoot
+ *
+ * This functionality has been removed from WebKit, this function does nothing.
+ *
+ * Returns: (transfer none): a #gboolean
+ *
+ * Deprecated: 2.6
+ */
+WEBKIT_DEPRECATED gboolean
+webkit_dom_shadow_root_get_apply_author_styles(WebKitDOMShadowRoot* self);
+
+/**
+ * webkit_dom_shadow_root_get_element_by_id:
+ * @self: A #WebKitDOMShadowRoot
+ * @id: A #gchar
+ *
+ * This functionality has been removed from WebKit, this function does nothing.
+ *
+ * Returns: (transfer none): a #WebKitDOMElement
+ *
+ * Deprecated: 2.6
+ */
+WEBKIT_DEPRECATED WebKitDOMElement*
+webkit_dom_shadow_root_get_element_by_id(WebKitDOMShadowRoot* self, const gchar* id);
+
+/**
+ * webkit_dom_shadow_root_get_elements_by_class_name:
+ * @self: A #WebKitDOMShadowRoot
+ * @name: A #gchar
+ *
+ * This functionality has been removed from WebKit, this function does nothing.
+ *
+ * Returns: (transfer none): a #WebKitDOMNodeList
+ *
+ * Deprecated: 2.6
+ */
+WEBKIT_DEPRECATED WebKitDOMNodeList*
+webkit_dom_shadow_root_get_elements_by_class_name(WebKitDOMShadowRoot* self, const gchar* name);
+
+/**
+ * webkit_dom_shadow_root_get_elements_by_tag_name:
+ * @self: A #WebKitDOMShadowRoot
+ * @name: A #gchar
+ *
+ * This functionality has been removed from WebKit, this function does nothing.
+ *
+ * Returns: (transfer none): a #WebKitDOMNodeList
+ *
+ * Deprecated: 2.6
+ */
+WEBKIT_DEPRECATED WebKitDOMNodeList*
+webkit_dom_shadow_root_get_elements_by_tag_name(WebKitDOMShadowRoot* self, const gchar* name);
+
+/**
+ * webkit_dom_shadow_root_get_elements_by_tag_name_ns:
+ * @self: A #WebKitDOMShadowRoot
+ * @name: A #gchar
+ * @ns: A #gchar
+ *
+ * This functionality has been removed from WebKit, this function does nothing.
+ *
+ * Returns: (transfer none): a #WebKitDOMNodeList
+ *
+ * Deprecated: 2.6
+ */
+WEBKIT_DEPRECATED WebKitDOMNodeList*
+webkit_dom_shadow_root_get_elements_by_tag_name_ns(WebKitDOMShadowRoot* self, const gchar* name, const gchar* ns);
+
+/**
+ * webkit_dom_shadow_root_get_inner_html:
+ * @self: A #WebKitDOMShadowRoot
+ *
+ * This functionality has been removed from WebKit, this function does nothing.
+ *
+ * Returns: (transfer none): a #gchar
+ *
+ * Deprecated: 2.6
+ */
+WEBKIT_DEPRECATED gchar*
+webkit_dom_shadow_root_get_inner_html(WebKitDOMShadowRoot* self);
+
+/**
+ * webkit_dom_shadow_root_get_reset_style_inheritance:
+ * @self: A #WebKitDOMShadowRoot
+ *
+ * This functionality has been removed from WebKit, this function does nothing.
+ *
+ * Returns: (transfer none): a #gboolean
+ *
+ * Deprecated: 2.6
+ */
+WEBKIT_DEPRECATED gboolean
+webkit_dom_shadow_root_get_reset_style_inheritance(WebKitDOMShadowRoot* self);
+
+/**
+ * webkit_dom_shadow_root_get_selection:
+ * @self: A #WebKitDOMShadowRoot
+ *
+ * This functionality has been removed from WebKit, this function does nothing.
+ *
+ * Returns: (transfer none): a #WebKitDOMDOMSelection
+ *
+ * Deprecated: 2.6
+ */
+WEBKIT_DEPRECATED WebKitDOMDOMSelection*
+webkit_dom_shadow_root_get_selection(WebKitDOMShadowRoot* self);
+
+/**
+ * webkit_dom_shadow_root_set_apply_author_styles:
+ * @self: A #WebKitDOMShadowRoot
+ * @value: A #gboolean
+ *
+ * This functionality has been removed from WebKit, this function does nothing.
+ *
+ * Deprecated: 2.6
+ */
+WEBKIT_DEPRECATED void
+webkit_dom_shadow_root_set_apply_author_styles(WebKitDOMShadowRoot* self, gboolean value);
+
+/**
+ * webkit_dom_shadow_root_set_inner_html:
+ * @self: A #WebKitDOMShadowRoot
+ * @html: A #gchar
+ * @error: A #GError
+ *
+ * This functionality has been removed from WebKit, this function does nothing.
+ *
+ * Deprecated: 2.6
+ */
+WEBKIT_DEPRECATED void
+webkit_dom_shadow_root_set_inner_html(WebKitDOMShadowRoot* self, const gchar* html, GError** error);
+
+/**
+ * webkit_dom_shadow_root_set_reset_style_inheritance:
+ * @self: A #WebKitDOMShadowRoot
+ * @value: A #gboolean
+ *
+ * This functionality has been removed from WebKit, this function does nothing.
+ *
+ * Deprecated: 2.6
+ */
+WEBKIT_DEPRECATED void
+webkit_dom_shadow_root_set_reset_style_inheritance(WebKitDOMShadowRoot* self, gboolean value);
+
+
 G_END_DECLS
 
 #endif /* WEBKIT_DISABLE_DEPRECATED */

Modified: trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.symbols (167707 => 167708)


--- trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.symbols	2014-04-23 13:36:30 UTC (rev 167707)
+++ trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.symbols	2014-04-23 13:43:12 UTC (rev 167708)
@@ -45,3 +45,16 @@
 gdouble webkit_dom_html_media_element_get_initial_time(WebKitDOMHTMLMediaElement*)
 gchar* webkit_dom_processing_instruction_get_data(WebKitDOMProcessingInstruction*)
 void webkit_dom_processing_instruction_set_data(WebKitDOMProcessingInstruction*, const gchar*, GError**)
+WebKitDOMElement* webkit_dom_shadow_root_element_from_point(WebKitDOMShadowRoot*, glong, glong)
+WebKitDOMElement* webkit_dom_shadow_root_get_active_element(WebKitDOMShadowRoot*)
+gboolean webkit_dom_shadow_root_get_apply_author_styles(WebKitDOMShadowRoot*)
+WebKitDOMElement* webkit_dom_shadow_root_get_element_by_id(WebKitDOMShadowRoot*, const gchar*)
+WebKitDOMNodeList* webkit_dom_shadow_root_get_elements_by_class_name(WebKitDOMShadowRoot*, const gchar*)
+WebKitDOMNodeList* webkit_dom_shadow_root_get_elements_by_tag_name(WebKitDOMShadowRoot*, const gchar*)
+WebKitDOMNodeList* webkit_dom_shadow_root_get_elements_by_tag_name_ns(WebKitDOMShadowRoot*, const gchar*, const gchar*)
+gchar* webkit_dom_shadow_root_get_inner_html(WebKitDOMShadowRoot*)
+gboolean webkit_dom_shadow_root_get_reset_style_inheritance(WebKitDOMShadowRoot*)
+WebKitDOMDOMSelection* webkit_dom_shadow_root_get_selection(WebKitDOMShadowRoot*)
+void webkit_dom_shadow_root_set_apply_author_styles(WebKitDOMShadowRoot*, gboolean)
+void webkit_dom_shadow_root_set_inner_html(WebKitDOMShadowRoot*, const gchar*, GError**)
+void webkit_dom_shadow_root_set_reset_style_inheritance(WebKitDOMShadowRoot*, gboolean)

Modified: trunk/Tools/ChangeLog (167707 => 167708)


--- trunk/Tools/ChangeLog	2014-04-23 13:36:30 UTC (rev 167707)
+++ trunk/Tools/ChangeLog	2014-04-23 13:43:12 UTC (rev 167708)
@@ -1,3 +1,16 @@
+2014-04-23  Carlos Garcia Campos  <cgar...@igalia.com>
+
+        [GTK] ShadowRoot API was removed in r164131
+        https://bugs.webkit.org/show_bug.cgi?id=132059
+
+        Reviewed by Gustavo Noronha Silva.
+
+        Add WebKitDOMShadowRoot to the list of deleted classes to generate
+        the API docs.
+
+        * gtk/webkitdom.py:
+        (WebKitDOMDocGenerator):
+
 2014-04-23  Lorenzo Tilve  <lti...@igalia.com>
 
         [GTK] run-webkit-tests script is failing to invoke run-launcher

Modified: trunk/Tools/gtk/webkitdom.py (167707 => 167708)


--- trunk/Tools/gtk/webkitdom.py	2014-04-23 13:36:30 UTC (rev 167707)
+++ trunk/Tools/gtk/webkitdom.py	2014-04-23 13:43:12 UTC (rev 167708)
@@ -31,7 +31,8 @@
         "WebKitDOMHTMLPropertiesCollection",
         "WebKitDOMMemoryInfo",
         "WebKitDOMMicroDataItemValue",
-        "WebKitDOMPropertyNodeList"]
+        "WebKitDOMPropertyNodeList",
+        "WebKitDOMShadowRoot"]
 
     def __init__(self, symbol_files, file_handle):
         self._symbol_files = symbol_files
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to