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

Side by Side Diff: content/shell/browser/shell_login_dialog.h

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_SHELL_BROWSER_SHELL_LOGIN_DIALOG_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_LOGIN_DIALOG_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_LOGIN_DIALOG_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_LOGIN_DIALOG_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "content/public/browser/resource_dispatcher_host_login_delegate.h" 10 #include "content/public/browser/resource_dispatcher_host_login_delegate.h"
11 11
12 #if defined(TOOLKIT_GTK)
13 #include "ui/base/gtk/gtk_signal.h"
14 #endif
15
16 #if defined(OS_MACOSX) 12 #if defined(OS_MACOSX)
17 #if __OBJC__ 13 #if __OBJC__
18 @class ShellLoginDialogHelper; 14 @class ShellLoginDialogHelper;
19 #else 15 #else
20 class ShellLoginDialogHelper; 16 class ShellLoginDialogHelper;
21 #endif // __OBJC__ 17 #endif // __OBJC__
22 #endif // defined(OS_MACOSX) 18 #endif // defined(OS_MACOSX)
23 19
24 namespace net { 20 namespace net {
25 class AuthChallengeInfo; 21 class AuthChallengeInfo;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // Threading: IO thread. 74 // Threading: IO thread.
79 scoped_refptr<net::AuthChallengeInfo> auth_info_; 75 scoped_refptr<net::AuthChallengeInfo> auth_info_;
80 76
81 // The request that wants login data. 77 // The request that wants login data.
82 // Threading: IO thread. 78 // Threading: IO thread.
83 net::URLRequest* request_; 79 net::URLRequest* request_;
84 80
85 #if defined(OS_MACOSX) 81 #if defined(OS_MACOSX)
86 // Threading: UI thread. 82 // Threading: UI thread.
87 ShellLoginDialogHelper* helper_; // owned 83 ShellLoginDialogHelper* helper_; // owned
88 #elif defined(TOOLKIT_GTK)
89 GtkWidget* username_entry_;
90 GtkWidget* password_entry_;
91 GtkWidget* root_;
92 CHROMEGTK_CALLBACK_1(ShellLoginDialog, void, OnResponse, int);
93 #endif 84 #endif
94 }; 85 };
95 86
96 } // namespace content 87 } // namespace content
97 88
98 #endif // CONTENT_SHELL_BROWSER_SHELL_LOGIN_DIALOG_H_ 89 #endif // CONTENT_SHELL_BROWSER_SHELL_LOGIN_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698