Changeset 126021 in webkit
- Timestamp:
- Aug 20, 2012 5:25:57 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r126018 r126021 1 2012-08-20 Xan Lopez <xlopez@igalia.com> 2 3 [GTK] Provide backwards compatible method for WebKitDOMWebKitNamedFlow::overflow 4 https://bugs.webkit.org/show_bug.cgi?id=94464 5 6 Reviewed by Carlos Garcia Campos. 7 8 Provide a compatibility method to access the new 'overset' 9 property through the old 'overflow' name in 10 WebKitDOMWebKitNamedFlow. Note that trying to access it through 11 g_object_get directly will give a runtime warning, since the 12 property does not actually exist anymore; this is done purely to 13 maintain API compatibility. 14 15 * bindings/gobject/WebKitDOMCustom.cpp: 16 (webkit_dom_webkit_named_flow_get_overflow): add method. 17 * bindings/gobject/WebKitDOMCustom.h: 18 1 19 2012-08-20 Sami Kyostila <skyostil@chromium.org> 2 20 -
trunk/Source/WebCore/bindings/gobject/WebKitDOMCustom.cpp
r125056 r126021 26 26 #include "WebKitDOMHTMLTextAreaElement.h" 27 27 #include "WebKitDOMHTMLTextAreaElementPrivate.h" 28 #include "WebKitDOMWebKitNamedFlow.h" 28 29 29 30 using namespace WebKit; … … 62 63 } 63 64 65 gboolean 66 webkit_dom_webkit_named_flow_get_overflow(WebKitDOMWebKitNamedFlow* flow) 67 { 68 g_warning("The WebKitDOMWebKitNamedFlow::overflow property has been renamed to WebKitDOMWebKitNamedFlow::overset. Please update your code to use the new name."); 69 return webkit_dom_webkit_named_flow_get_overset(flow); 70 } 71 64 72 void 65 73 webkit_dom_html_form_element_dispatch_form_change(WebKitDOMHTMLFormElement* self) -
trunk/Source/WebCore/bindings/gobject/WebKitDOMCustom.h
r125092 r126021 36 36 WEBKIT_API void webkit_dom_html_form_element_dispatch_form_change(WebKitDOMHTMLFormElement* self); 37 37 WEBKIT_API void webkit_dom_html_form_element_dispatch_form_input(WebKitDOMHTMLFormElement* self); 38 WEBKIT_API gboolean webkit_dom_webkit_named_flow_get_overflow(WebKitDOMWebKitNamedFlow* flow); 38 39 39 40 G_END_DECLS
Note: See TracChangeset
for help on using the changeset viewer.