
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */

/*
 * Copyright (C) 2017 Igalia S.L.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library 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
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */

#include <config.h>
#include "WebKitWebProcessEnumTypes.h"

#include <webkit2/webkit-web-extension.h>
extern "C" {
// Enumerations from /build/webkit2gtk/src/webkitgtk-2.36.3/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitConsoleMessage.h.
GType webkit_console_message_source_get_type()
{
    static const GEnumValue values[] = {
        { WEBKIT_CONSOLE_MESSAGE_SOURCE_JAVASCRIPT, "WEBKIT_CONSOLE_MESSAGE_SOURCE_JAVASCRIPT", "javascript" },
        { WEBKIT_CONSOLE_MESSAGE_SOURCE_NETWORK, "WEBKIT_CONSOLE_MESSAGE_SOURCE_NETWORK", "network" },
        { WEBKIT_CONSOLE_MESSAGE_SOURCE_CONSOLE_API, "WEBKIT_CONSOLE_MESSAGE_SOURCE_CONSOLE_API", "console-api" },
        { WEBKIT_CONSOLE_MESSAGE_SOURCE_SECURITY, "WEBKIT_CONSOLE_MESSAGE_SOURCE_SECURITY", "security" },
        { WEBKIT_CONSOLE_MESSAGE_SOURCE_OTHER, "WEBKIT_CONSOLE_MESSAGE_SOURCE_OTHER", "other" },
        { 0, NULL, NULL }
    };

    static GType type = 0;
    if (G_UNLIKELY(!type))
        type = g_enum_register_static("WebKitConsoleMessageSource", values);

    return type;
}
GType webkit_console_message_level_get_type()
{
    static const GEnumValue values[] = {
        { WEBKIT_CONSOLE_MESSAGE_LEVEL_INFO, "WEBKIT_CONSOLE_MESSAGE_LEVEL_INFO", "info" },
        { WEBKIT_CONSOLE_MESSAGE_LEVEL_LOG, "WEBKIT_CONSOLE_MESSAGE_LEVEL_LOG", "log" },
        { WEBKIT_CONSOLE_MESSAGE_LEVEL_WARNING, "WEBKIT_CONSOLE_MESSAGE_LEVEL_WARNING", "warning" },
        { WEBKIT_CONSOLE_MESSAGE_LEVEL_ERROR, "WEBKIT_CONSOLE_MESSAGE_LEVEL_ERROR", "error" },
        { WEBKIT_CONSOLE_MESSAGE_LEVEL_DEBUG, "WEBKIT_CONSOLE_MESSAGE_LEVEL_DEBUG", "debug" },
        { 0, NULL, NULL }
    };

    static GType type = 0;
    if (G_UNLIKELY(!type))
        type = g_enum_register_static("WebKitConsoleMessageLevel", values);

    return type;
}
// Enumerations from /build/webkit2gtk/src/webkitgtk-2.36.3/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.h.
GType webkit_form_submission_step_get_type()
{
    static const GEnumValue values[] = {
        { WEBKIT_FORM_SUBMISSION_WILL_SEND_DOM_EVENT, "WEBKIT_FORM_SUBMISSION_WILL_SEND_DOM_EVENT", "send-dom-event" },
        { WEBKIT_FORM_SUBMISSION_WILL_COMPLETE, "WEBKIT_FORM_SUBMISSION_WILL_COMPLETE", "complete" },
        { 0, NULL, NULL }
    };

    static GType type = 0;
    if (G_UNLIKELY(!type))
        type = g_enum_register_static("WebKitFormSubmissionStep", values);

    return type;
}
}

/* Generated data ends here */

