Changeset 167712 in webkit
- Timestamp:
- Apr 23, 2014 9:44:13 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r167711 r167712 1 2014-04-23 Philippe Normand <pnormand@igalia.com> 2 3 [GTK] Focus management API was moved from HTMLDocument to Document in r166668 4 https://bugs.webkit.org/show_bug.cgi?id=132060 5 6 Reviewed by Carlos Garcia Campos. 7 8 Deprecate the removed methods in WebKitDOMHTMLDocument to keep API compatibility. 9 10 * bindings/gobject/WebKitDOMDeprecated.cpp: 11 (webkit_dom_html_document_get_active_element): 12 (webkit_dom_html_document_has_focus): 13 * bindings/gobject/WebKitDOMDeprecated.h: 14 * bindings/gobject/WebKitDOMDeprecated.symbols: 15 * bindings/gobject/webkitdom.symbols: 16 1 17 2014-04-22 Andreas Kling <akling@apple.com> 2 18 -
trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.cpp
r167708 r167712 22 22 #include "WebKitDOMBlob.h" 23 23 #include "WebKitDOMDOMStringList.h" 24 #include "WebKitDOMDocument.h" 24 25 #include "WebKitDOMHTMLCollection.h" 25 26 #include "WebKitDOMHTMLFormElement.h" … … 65 66 } 66 67 68 WebKitDOMElement* webkit_dom_html_document_get_active_element(WebKitDOMHTMLDocument* document) 69 { 70 return webkit_dom_document_get_active_element(WEBKIT_DOM_DOCUMENT(document)); 71 } 72 73 gboolean webkit_dom_html_document_has_focus(WebKitDOMHTMLDocument* document) 74 { 75 return webkit_dom_document_has_focus(WEBKIT_DOM_DOCUMENT(document)); 76 } 77 67 78 void webkit_dom_html_form_element_dispatch_form_change(WebKitDOMHTMLFormElement*) 68 79 { -
trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.h
r167708 r167712 97 97 98 98 /** 99 * webkit_dom_html_document_get_active_element: 100 * @self: A #WebKitDOMHTMLDocument 101 * 102 * Returns: (transfer none): a #WebKitDOMElement 103 * 104 * Deprecated: 2.6: Use webkit_dom_document_get_active_element() instead. 105 */ 106 WEBKIT_DEPRECATED_FOR(webkit_dom_document_get_active_element) WebKitDOMElement* 107 webkit_dom_html_document_get_active_element(WebKitDOMHTMLDocument* self); 108 109 /** 110 * webkit_dom_html_document_has_focus: 111 * @self: A #WebKitDOMHTMLDocument 112 * 113 * Returns: A #gboolean 114 * 115 * Deprecated: 2.6: Use webkit_dom_document_has_focus() instead. 116 */ 117 WEBKIT_DEPRECATED_FOR(webkit_dom_document_has_focus) gboolean 118 webkit_dom_html_document_has_focus(WebKitDOMHTMLDocument* self); 119 120 /** 99 121 * webkit_dom_html_form_element_dispatch_form_change: 100 122 * @self: A #WebKitDOMHTMLFormElement -
trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.symbols
r167708 r167712 46 46 gchar* webkit_dom_processing_instruction_get_data(WebKitDOMProcessingInstruction*) 47 47 void webkit_dom_processing_instruction_set_data(WebKitDOMProcessingInstruction*, const gchar*, GError**) 48 WebKitDOMElement* webkit_dom_html_document_get_active_element(WebKitDOMHTMLDocument*) 49 gboolean webkit_dom_html_document_has_focus(WebKitDOMHTMLDocument*) 48 50 WebKitDOMElement* webkit_dom_shadow_root_element_from_point(WebKitDOMShadowRoot*, glong, glong) 49 51 WebKitDOMElement* webkit_dom_shadow_root_get_active_element(WebKitDOMShadowRoot*) -
trunk/Source/WebCore/bindings/gobject/webkitdom.symbols
r165199 r167712 91 91 WebKitDOMAttr* webkit_dom_document_create_attribute(WebKitDOMDocument*, const gchar*, GError**) 92 92 WebKitDOMEntityReference* webkit_dom_document_create_entity_reference(WebKitDOMDocument*, const gchar*, GError**) 93 WebKitDOMElement* webkit_dom_document_get_active_element(WebKitDOMDocument*) 93 94 WebKitDOMNodeList* webkit_dom_document_get_elements_by_tag_name(WebKitDOMDocument*, const gchar*) 94 95 WebKitDOMNode* webkit_dom_document_import_node(WebKitDOMDocument*, WebKitDOMNode*, gboolean, GError**) … … 108 109 WebKitDOMXPathResult* webkit_dom_document_evaluate(WebKitDOMDocument*, const gchar*, WebKitDOMNode*, WebKitDOMXPathNSResolver*, gushort, WebKitDOMXPathResult*, GError**) 109 110 gboolean webkit_dom_document_exec_command(WebKitDOMDocument*, const gchar*, gboolean, const gchar*) 111 gboolean webkit_dom_document_has_focus(WebKitDOMDocument*) 110 112 gboolean webkit_dom_document_query_command_enabled(WebKitDOMDocument*, const gchar*) 111 113 gboolean webkit_dom_document_query_command_indeterm(WebKitDOMDocument*, const gchar*)
Note: See TracChangeset
for help on using the changeset viewer.