AppleOpenSource/WebKit2-7609.3.5.1.3/WebProcess/InjectedBundle/API/glib/DOM/WebKitDOMElement.cpp
/**
 * webkit_dom_element_html_input_element_set_editing_value:
 * @element: a #WebKitDOMElement
 * @value: the text to set
 *
 * Set the value of an HTML input element as if it had been edited by
 * the user, triggering a change event. If @element is not an HTML input
 * element this function does nothing.
 *
 * Since: 2.22
 */
@element: a #WebKitDOMElement
@value: the text to set

Set the value of an HTML input element as if it had been edited by
the user, triggering a change event. If @element is not an HTML input
element this function does nothing.


@element : a #WebKitDOMElement @value : the text to set Set the value of an HTML input element as if it had been edited by the user triggering a change event . If @element is not an HTML input element this function does nothing .
void webkit_dom_element_html_input_element_set_editing_value(WebKitDOMElement* element, const char* value)
{
    g_return_if_fail(WEBKIT_DOM_IS_ELEMENT(element));
    auto* node = webkitDOMNodeGetCoreObject(WEBKIT_DOM_NODE(element));
    if (!is<WebCore::HTMLInputElement>(node))
        return;
    downcast<WebCore::HTMLInputElement>(*node).setValueForUser(String::fromUTF8(value));
}
void webkit_dom_element_html_input_element_set_editing_value ( WebKitDOMElement * element , const char * value ) { g_return_if_fail ( WEBKIT_DOM_IS_ELEMENT ( element ) ) ; auto * node = webkitDOMNodeGetCoreObject ( WEBKIT_DOM_NODE ( element ) ) ; if ( ! is < WebCore :: HTMLInputElement > ( node ) ) return ; downcast < WebCore :: HTMLInputElement > ( * node ) . setValueForUser ( String :: fromUTF8 ( value ) ) ; }
webkit_dom_element_html_input_element_set_editing_value:
 @element: a #WebKitDOMElement
 @value: the text to set
webkit_dom_element_html_input_element_set_editing_value : @element : a #WebKitDOMElement @value : the text to set