Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1432)

Unified Diff: content/shell/shell_login_dialog.h

Issue 10823099: Add login prompt dialog support for GTK content shell. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase the patch Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/shell_login_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_login_dialog.h
diff --git a/content/shell/shell_login_dialog.h b/content/shell/shell_login_dialog.h
index 2d1436331aad85bbdd721af8fef9fd061571f247..9f4495cd40b478b0863cbbc244d2f68ddb5dcab7 100644
--- a/content/shell/shell_login_dialog.h
+++ b/content/shell/shell_login_dialog.h
@@ -9,6 +9,10 @@
#include "base/string16.h"
#include "content/public/browser/resource_dispatcher_host_login_delegate.h"
+#if defined(TOOLKIT_GTK)
+#include "ui/base/gtk/gtk_signal.h"
+#endif
+
#if defined(OS_MACOSX)
#if __OBJC__
@class ShellLoginDialogHelper;
@@ -80,6 +84,11 @@ class ShellLoginDialog : public ResourceDispatcherHostLoginDelegate {
#if defined(OS_MACOSX)
// Threading: UI thread.
ShellLoginDialogHelper* helper_; // owned
+#elif defined(TOOLKIT_GTK)
+ GtkWidget* username_entry_;
+ GtkWidget* password_entry_;
+ GtkWidget* root_;
+ CHROMEGTK_CALLBACK_1(ShellLoginDialog, void, OnResponse, int);
#endif
};
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/shell_login_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698