AppleOpenSource/WebKit2-7609.3.5.1.3/WebProcess/InjectedBundle/API/glib/DOM/WebKitDOMElement.cpp
/**
 * webkit_dom_element_html_input_element_is_user_edited:
 * @element: a #WebKitDOMElement
 *
 * Get whether @element is an HTML text input element that has been edited by a user action.
 *
 * Returns: whether @element has been edited by a user action.
 *
 * Since: 2.22
 */


Get whether @element is an HTML text input element that has been edited by a user action.

whether @element has been edited by a user action.


Get whether @element is an HTML text input element that has been edited by a user action . whether @element has been edited by a user action .
gboolean webkit_dom_element_html_input_element_is_user_edited(WebKitDOMElement* element)
{
    g_return_val_if_fail(WEBKIT_DOM_IS_ELEMENT(element), FALSE);
    auto* node = webkitDOMNodeGetCoreObject(WEBKIT_DOM_NODE(element));
    if (is<WebCore::HTMLInputElement>(node))
        return downcast<WebCore::HTMLInputElement>(*node).lastChangeWasUserEdit();
    if (is<WebCore::HTMLTextAreaElement>(node))
        return downcast<WebCore::HTMLTextAreaElement>(*node).lastChangeWasUserEdit();
    return FALSE;
}
gboolean webkit_dom_element_html_input_element_is_user_edited ( WebKitDOMElement * element ) { g_return_val_if_fail ( WEBKIT_DOM_IS_ELEMENT ( element ) , FALSE ) ; auto * node = webkitDOMNodeGetCoreObject ( WEBKIT_DOM_NODE ( element ) ) ; if ( is < WebCore :: HTMLInputElement > ( node ) ) return downcast < WebCore :: HTMLInputElement > ( * node ) . lastChangeWasUserEdit ( ) ; if ( is < WebCore :: HTMLTextAreaElement > ( node ) ) return downcast < WebCore :: HTMLTextAreaElement > ( * node ) . lastChangeWasUserEdit ( ) ; return FALSE ; }
webkit_dom_element_html_input_element_is_user_edited:
 @element: a #WebKitDOMElement
webkit_dom_element_html_input_element_is_user_edited : @element : a #WebKitDOMElement