Title: [126021] trunk/Source/WebCore
- Revision
- 126021
- Author
- [email protected]
- Date
- 2012-08-20 05:25:57 -0700 (Mon, 20 Aug 2012)
Log Message
[GTK] Provide backwards compatible method for WebKitDOMWebKitNamedFlow::overflow
https://bugs.webkit.org/show_bug.cgi?id=94464
Patch by Xan Lopez <[email protected]> on 2012-08-20
Reviewed by Carlos Garcia Campos.
Provide a compatibility method to access the new 'overset'
property through the old 'overflow' name in
WebKitDOMWebKitNamedFlow. Note that trying to access it through
g_object_get directly will give a runtime warning, since the
property does not actually exist anymore; this is done purely to
maintain API compatibility.
* bindings/gobject/WebKitDOMCustom.cpp:
(webkit_dom_webkit_named_flow_get_overflow): add method.
* bindings/gobject/WebKitDOMCustom.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (126020 => 126021)
--- trunk/Source/WebCore/ChangeLog 2012-08-20 12:21:29 UTC (rev 126020)
+++ trunk/Source/WebCore/ChangeLog 2012-08-20 12:25:57 UTC (rev 126021)
@@ -1,3 +1,21 @@
+2012-08-20 Xan Lopez <[email protected]>
+
+ [GTK] Provide backwards compatible method for WebKitDOMWebKitNamedFlow::overflow
+ https://bugs.webkit.org/show_bug.cgi?id=94464
+
+ Reviewed by Carlos Garcia Campos.
+
+ Provide a compatibility method to access the new 'overset'
+ property through the old 'overflow' name in
+ WebKitDOMWebKitNamedFlow. Note that trying to access it through
+ g_object_get directly will give a runtime warning, since the
+ property does not actually exist anymore; this is done purely to
+ maintain API compatibility.
+
+ * bindings/gobject/WebKitDOMCustom.cpp:
+ (webkit_dom_webkit_named_flow_get_overflow): add method.
+ * bindings/gobject/WebKitDOMCustom.h:
+
2012-08-20 Sami Kyostila <[email protected]>
[chromium] Convert screen space scroll gestures to layer space
Modified: trunk/Source/WebCore/bindings/gobject/WebKitDOMCustom.cpp (126020 => 126021)
--- trunk/Source/WebCore/bindings/gobject/WebKitDOMCustom.cpp 2012-08-20 12:21:29 UTC (rev 126020)
+++ trunk/Source/WebCore/bindings/gobject/WebKitDOMCustom.cpp 2012-08-20 12:25:57 UTC (rev 126021)
@@ -25,6 +25,7 @@
#include "WebKitDOMHTMLInputElementPrivate.h"
#include "WebKitDOMHTMLTextAreaElement.h"
#include "WebKitDOMHTMLTextAreaElementPrivate.h"
+#include "WebKitDOMWebKitNamedFlow.h"
using namespace WebKit;
@@ -61,6 +62,13 @@
webkit_dom_element_set_class_name(WEBKIT_DOM_ELEMENT(element), value);
}
+gboolean
+webkit_dom_webkit_named_flow_get_overflow(WebKitDOMWebKitNamedFlow* flow)
+{
+ g_warning("The WebKitDOMWebKitNamedFlow::overflow property has been renamed to WebKitDOMWebKitNamedFlow::overset. Please update your code to use the new name.");
+ return webkit_dom_webkit_named_flow_get_overset(flow);
+}
+
void
webkit_dom_html_form_element_dispatch_form_change(WebKitDOMHTMLFormElement* self)
{
Modified: trunk/Source/WebCore/bindings/gobject/WebKitDOMCustom.h (126020 => 126021)
--- trunk/Source/WebCore/bindings/gobject/WebKitDOMCustom.h 2012-08-20 12:21:29 UTC (rev 126020)
+++ trunk/Source/WebCore/bindings/gobject/WebKitDOMCustom.h 2012-08-20 12:25:57 UTC (rev 126021)
@@ -35,6 +35,7 @@
WEBKIT_API WebKitDOMDOMTokenList* webkit_dom_html_element_get_class_list(WebKitDOMHTMLElement* element);
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);
+WEBKIT_API gboolean webkit_dom_webkit_named_flow_get_overflow(WebKitDOMWebKitNamedFlow* flow);
G_END_DECLS
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes