Skip to content
  • carlosgc@webkit.org's avatar
    2011-06-14 Carlos Garcia Campos <cgarcia@igalia.com> · c0c956a1
    carlosgc@webkit.org authored
            Reviewed by Martin Robinson.
    
            [GTK] Support authentication dialogs in WebKit2
            https://bugs.webkit.org/show_bug.cgi?id=62366
    
            Add a new class to show an authentication dialog that is used by
            both WebKit1 and WebKit2.
    
            * GNUmakefile.list.am: Add new files to compilation.
            * platform/gtk/GtkAuthenticationDialog.cpp: Added.
            (WebCore::addEntryToTable):
            (WebCore::sessionCanSavePasswords):
            (WebCore::GtkAuthenticationDialog::~GtkAuthenticationDialog):
            (WebCore::GtkAuthenticationDialog::GtkAuthenticationDialog):
            (WebCore::getSavedLogin):
            (WebCore::GtkAuthenticationDialog::show):
            (WebCore::GtkAuthenticationDialog::destroy):
            (WebCore::GtkAuthenticationDialog::savePasswordCallback):
            (WebCore::GtkAuthenticationDialog::savePassword):
            (WebCore::GtkAuthenticationDialog::authenticate):
            (WebCore::GtkAuthenticationDialog::authenticationDialogResponseCallback):
            * platform/gtk/GtkAuthenticationDialog.h: Added.
    2011-06-14  Carlos Garcia Campos  <cgarcia@igalia.com>
    
            Reviewed by Martin Robinson.
    
            [GTK] Support authentication dialogs in WebKit2
            https://bugs.webkit.org/show_bug.cgi?id=62366
    
            Move the common code of webkitsoupauthdialog to a common C++ class
            in WebCore so that it can be used by WebKit2 too. The file has
            been converted into a C++ file.
    
            * GNUmakefile.am: Rename webkitsoupauthdialog.c to
            webkitsoupauthdialog.cpp.
            * webkit/webkitsoupauthdialog.c: Removed.
            * webkit/webkitsoupauthdialog.cpp: Added.
            (webkit_soup_auth_dialog_class_init):
            (webkit_soup_auth_dialog_init):
            (webkit_soup_auth_dialog_session_feature_init):
            (sessionAuthenticate): Use GtkAuthenticationDialog object from
            WebCore.
            (attach):
            (detach):
            * webkit/webkitsoupauthdialog.h:
    2011-06-14  Carlos Garcia Campos  <cgarcia@igalia.com>
    
            Reviewed by Martin Robinson.
    
            [GTK] Support authentication dialogs in WebKit2
            https://bugs.webkit.org/show_bug.cgi?id=62366
    
            Add a new soup feature to show an authentication dialog when it
            gets a 401 HTTP response.
    
            * GNUmakefile.am: Add new files to compilation.
            * WebProcess/gtk/WebAuthDialog.cpp: Added.
            (web_auth_dialog_class_init):
            (web_auth_dialog_init):
            (sessionAuthenticate):
            (attach):
            (detach):
            (webAuthDialogSessionFeatureInit):
            * WebProcess/gtk/WebAuthDialog.h: Added.
            * WebProcess/gtk/WebProcessMainGtk.cpp:
            (WebKit::WebProcessMainGtk):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c0c956a1