blob: d3a05c35a1b78435f64c2eb0e5954d3bdb0c78f9 [file] [log] [blame]
/*
* Copyright (C) 2011 Igalia S.L.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef WebKitDOMCustom_h
#define WebKitDOMCustom_h
#include <glib-object.h>
#include <glib.h>
#include <webkitdom/webkitdomdefines.h>
G_BEGIN_DECLS
/**
* webkit_dom_html_text_area_element_is_edited:
* @input: A #WebKitDOMHTMLTextAreaElement
*
* Returns: A #gboolean
*/
WEBKIT_API gboolean webkit_dom_html_text_area_element_is_edited(WebKitDOMHTMLTextAreaElement* input);
/**
* webkit_dom_html_input_element_is_edited:
* @input: A #WebKitDOMHTMLInputElement
*
* Returns: A #gboolean
*/
WEBKIT_API gboolean webkit_dom_html_input_element_is_edited(WebKitDOMHTMLInputElement* input);
/**
* webkit_dom_dom_window_post_user_message:
* @window: A #WebKitDOMDOMWindow
* @handler: Name of the user message handler.
* @message: JavaScript value to be sent.
*
* Returns: Whether the message was successfully sent.
*
* Since: 2.8
*/
gboolean webkit_dom_dom_window_webkit_message_handlers_post_message(WebKitDOMDOMWindow* window, const gchar* handler, const gchar* message);
G_END_DECLS
#endif