Changeset 88800 in webkit
- Timestamp:
- Jun 14, 2011 7:36:50 AM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 added
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r88798 r88800 1 2011-06-14 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 Reviewed by Martin Robinson. 4 5 [GTK] Support authentication dialogs in WebKit2 6 https://bugs.webkit.org/show_bug.cgi?id=62366 7 8 Add a new class to show an authentication dialog that is used by 9 both WebKit1 and WebKit2. 10 11 * GNUmakefile.list.am: Add new files to compilation. 12 * platform/gtk/GtkAuthenticationDialog.cpp: Added. 13 (WebCore::addEntryToTable): 14 (WebCore::sessionCanSavePasswords): 15 (WebCore::GtkAuthenticationDialog::~GtkAuthenticationDialog): 16 (WebCore::GtkAuthenticationDialog::GtkAuthenticationDialog): 17 (WebCore::getSavedLogin): 18 (WebCore::GtkAuthenticationDialog::show): 19 (WebCore::GtkAuthenticationDialog::destroy): 20 (WebCore::GtkAuthenticationDialog::savePasswordCallback): 21 (WebCore::GtkAuthenticationDialog::savePassword): 22 (WebCore::GtkAuthenticationDialog::authenticate): 23 (WebCore::GtkAuthenticationDialog::authenticationDialogResponseCallback): 24 * platform/gtk/GtkAuthenticationDialog.h: Added. 25 1 26 2011-06-14 Tommy Widenflycht <tommyw@google.com> 2 27 -
trunk/Source/WebCore/GNUmakefile.list.am
r88798 r88800 3818 3818 Source/WebCore/platform/gtk/GRefPtrGtk.cpp \ 3819 3819 Source/WebCore/platform/gtk/GRefPtrGtk.h \ 3820 Source/WebCore/platform/gtk/GtkAuthenticationDialog.cpp \ 3821 Source/WebCore/platform/gtk/GtkAuthenticationDialog.h \ 3820 3822 Source/WebCore/platform/gtk/GtkPluginWidget.cpp \ 3821 3823 Source/WebCore/platform/gtk/GtkPluginWidget.h \ -
trunk/Source/WebKit/gtk/ChangeLog
r88754 r88800 1 2011-06-14 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 Reviewed by Martin Robinson. 4 5 [GTK] Support authentication dialogs in WebKit2 6 https://bugs.webkit.org/show_bug.cgi?id=62366 7 8 Move the common code of webkitsoupauthdialog to a common C++ class 9 in WebCore so that it can be used by WebKit2 too. The file has 10 been converted into a C++ file. 11 12 * GNUmakefile.am: Rename webkitsoupauthdialog.c to 13 webkitsoupauthdialog.cpp. 14 * webkit/webkitsoupauthdialog.c: Removed. 15 * webkit/webkitsoupauthdialog.cpp: Added. 16 (webkit_soup_auth_dialog_class_init): 17 (webkit_soup_auth_dialog_init): 18 (webkit_soup_auth_dialog_session_feature_init): 19 (sessionAuthenticate): Use GtkAuthenticationDialog object from 20 WebCore. 21 (attach): 22 (detach): 23 * webkit/webkitsoupauthdialog.h: 24 1 25 2011-06-13 Joone Hur <joone.hur@collabora.co.uk> 2 26 -
trunk/Source/WebKit/gtk/GNUmakefile.am
r88674 r88800 218 218 Source/WebKit/gtk/webkit/webkitsecurityorigin.cpp \ 219 219 Source/WebKit/gtk/webkit/webkitsecurityoriginprivate.h \ 220 Source/WebKit/gtk/webkit/webkitsoupauthdialog.c \220 Source/WebKit/gtk/webkit/webkitsoupauthdialog.cpp \ 221 221 Source/WebKit/gtk/webkit/webkitspellchecker.cpp \ 222 222 Source/WebKit/gtk/webkit/webkitspellcheckerenchant.cpp \ -
trunk/Source/WebKit/gtk/webkit/webkitsoupauthdialog.h
r74691 r88800 22 22 23 23 #include <gtk/gtk.h> 24 #include <libsoup/soup.h> 24 25 #include <webkit/webkitdefines.h> 25 26 -
trunk/Source/WebKit2/ChangeLog
r88799 r88800 1 2011-06-14 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 Reviewed by Martin Robinson. 4 5 [GTK] Support authentication dialogs in WebKit2 6 https://bugs.webkit.org/show_bug.cgi?id=62366 7 8 Add a new soup feature to show an authentication dialog when it 9 gets a 401 HTTP response. 10 11 * GNUmakefile.am: Add new files to compilation. 12 * WebProcess/gtk/WebAuthDialog.cpp: Added. 13 (web_auth_dialog_class_init): 14 (web_auth_dialog_init): 15 (sessionAuthenticate): 16 (attach): 17 (detach): 18 (webAuthDialogSessionFeatureInit): 19 * WebProcess/gtk/WebAuthDialog.h: Added. 20 * WebProcess/gtk/WebProcessMainGtk.cpp: 21 (WebKit::WebProcessMainGtk): 22 1 23 2011-06-14 No'am Rosenthal <noam.rosenthal@nokia.com> and Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com> 2 24 -
trunk/Source/WebKit2/GNUmakefile.am
r88634 r88800 527 527 Source/WebKit2/WebProcess/Geolocation/WebGeolocationManager.cpp \ 528 528 Source/WebKit2/WebProcess/Geolocation/WebGeolocationManager.h \ 529 Source/WebKit2/WebProcess/gtk/WebAuthDialog.cpp \ 530 Source/WebKit2/WebProcess/gtk/WebAuthDialog.h \ 529 531 Source/WebKit2/WebProcess/gtk/WebProcessGtk.cpp \ 530 532 Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp \ -
trunk/Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp
r78028 r88800 28 28 #include "WebProcessMainGtk.h" 29 29 30 #include "WebAuthDialog.h" 30 31 #include "WKBase.h" 32 #include <WebCore/GtkAuthenticationDialog.h> 31 33 #include <WebCore/ResourceHandle.h> 32 34 #include <WebKit2/RunLoop.h> … … 57 59 SoupSession* session = WebCore::ResourceHandle::defaultSession(); 58 60 59 SoupSessionFeature* sniffer = static_cast<SoupSessionFeature*>(g_object_new(SOUP_TYPE_CONTENT_SNIFFER, NULL)); 60 soup_session_add_feature(session, sniffer); 61 g_object_unref(sniffer); 61 GRefPtr<SoupSessionFeature> sniffer = adoptGRef(static_cast<SoupSessionFeature*>(g_object_new(SOUP_TYPE_CONTENT_SNIFFER, NULL))); 62 soup_session_add_feature(session, sniffer.get()); 62 63 63 64 soup_session_add_feature_by_type(session, SOUP_TYPE_CONTENT_DECODER); 65 66 GRefPtr<SoupSessionFeature> authDialog = adoptGRef(static_cast<SoupSessionFeature*>(g_object_new(WEB_TYPE_AUTH_DIALOG, NULL))); 67 soup_session_add_feature(session, authDialog.get()); 64 68 65 69 int socket = atoi(argv[1]);
Note: See TracChangeset
for help on using the changeset viewer.