Changeset 167712 in webkit


Ignore:
Timestamp:
Apr 23, 2014 9:44:13 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] Focus management API was moved from HTMLDocument to Document in r166668
https://bugs.webkit.org/show_bug.cgi?id=132060

Patch by Philippe Normand <pnormand@igalia.com> on 2014-04-23
Reviewed by Carlos Garcia Campos.

Deprecate the removed methods in WebKitDOMHTMLDocument to keep API compatibility.

  • bindings/gobject/WebKitDOMDeprecated.cpp:

(webkit_dom_html_document_get_active_element):
(webkit_dom_html_document_has_focus):

  • bindings/gobject/WebKitDOMDeprecated.h:
  • bindings/gobject/WebKitDOMDeprecated.symbols:
  • bindings/gobject/webkitdom.symbols:
Location:
trunk/Source/WebCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r167711 r167712  
     12014-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
    1172014-04-22  Andreas Kling  <akling@apple.com>
    218
  • trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.cpp

    r167708 r167712  
    2222#include "WebKitDOMBlob.h"
    2323#include "WebKitDOMDOMStringList.h"
     24#include "WebKitDOMDocument.h"
    2425#include "WebKitDOMHTMLCollection.h"
    2526#include "WebKitDOMHTMLFormElement.h"
     
    6566}
    6667
     68WebKitDOMElement* webkit_dom_html_document_get_active_element(WebKitDOMHTMLDocument* document)
     69{
     70    return webkit_dom_document_get_active_element(WEBKIT_DOM_DOCUMENT(document));
     71}
     72
     73gboolean webkit_dom_html_document_has_focus(WebKitDOMHTMLDocument* document)
     74{
     75    return webkit_dom_document_has_focus(WEBKIT_DOM_DOCUMENT(document));
     76}
     77
    6778void webkit_dom_html_form_element_dispatch_form_change(WebKitDOMHTMLFormElement*)
    6879{
  • trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.h

    r167708 r167712  
    9797
    9898/**
     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 */
     106WEBKIT_DEPRECATED_FOR(webkit_dom_document_get_active_element) WebKitDOMElement*
     107webkit_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 */
     117WEBKIT_DEPRECATED_FOR(webkit_dom_document_has_focus) gboolean
     118webkit_dom_html_document_has_focus(WebKitDOMHTMLDocument* self);
     119
     120/**
    99121 * webkit_dom_html_form_element_dispatch_form_change:
    100122 * @self: A #WebKitDOMHTMLFormElement
  • trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.symbols

    r167708 r167712  
    4646gchar* webkit_dom_processing_instruction_get_data(WebKitDOMProcessingInstruction*)
    4747void webkit_dom_processing_instruction_set_data(WebKitDOMProcessingInstruction*, const gchar*, GError**)
     48WebKitDOMElement* webkit_dom_html_document_get_active_element(WebKitDOMHTMLDocument*)
     49gboolean webkit_dom_html_document_has_focus(WebKitDOMHTMLDocument*)
    4850WebKitDOMElement* webkit_dom_shadow_root_element_from_point(WebKitDOMShadowRoot*, glong, glong)
    4951WebKitDOMElement* webkit_dom_shadow_root_get_active_element(WebKitDOMShadowRoot*)
  • trunk/Source/WebCore/bindings/gobject/webkitdom.symbols

    r165199 r167712  
    9191WebKitDOMAttr* webkit_dom_document_create_attribute(WebKitDOMDocument*, const gchar*, GError**)
    9292WebKitDOMEntityReference* webkit_dom_document_create_entity_reference(WebKitDOMDocument*, const gchar*, GError**)
     93WebKitDOMElement* webkit_dom_document_get_active_element(WebKitDOMDocument*)
    9394WebKitDOMNodeList* webkit_dom_document_get_elements_by_tag_name(WebKitDOMDocument*, const gchar*)
    9495WebKitDOMNode* webkit_dom_document_import_node(WebKitDOMDocument*, WebKitDOMNode*, gboolean, GError**)
     
    108109WebKitDOMXPathResult* webkit_dom_document_evaluate(WebKitDOMDocument*, const gchar*, WebKitDOMNode*, WebKitDOMXPathNSResolver*, gushort, WebKitDOMXPathResult*, GError**)
    109110gboolean webkit_dom_document_exec_command(WebKitDOMDocument*, const gchar*, gboolean, const gchar*)
     111gboolean webkit_dom_document_has_focus(WebKitDOMDocument*)
    110112gboolean webkit_dom_document_query_command_enabled(WebKitDOMDocument*, const gchar*)
    111113gboolean webkit_dom_document_query_command_indeterm(WebKitDOMDocument*, const gchar*)
Note: See TracChangeset for help on using the changeset viewer.