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

Unified Diff: chrome/browser/login_prompt_mac.h

Issue 164391: Implement http auth login dialog for OS X. (Closed)
Patch Set: re-disable nonfuntional test Created 11 years, 4 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 | « chrome/browser/cocoa/download_request_dialog_delegate_mac.mm ('k') | chrome/browser/login_prompt_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/login_prompt_mac.h
diff --git a/chrome/browser/login_prompt_mac.h b/chrome/browser/login_prompt_mac.h
new file mode 100644
index 0000000000000000000000000000000000000000..3cc5f8b055ddbf4b0ef1a2a3968696544cfdc1eb
--- /dev/null
+++ b/chrome/browser/login_prompt_mac.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_LOGIN_PROMPT_MAC_H_
+#define CHROME_BROWSER_LOGIN_PROMPT_MAC_H_
+
+#import <Cocoa/Cocoa.h>
+
+class LoginHandlerMac;
+
+// Controller of the sheet used by LoginHandlerMac. Interface Builder wants
+// this to be in a .h file.
+@interface LoginHandlerSheet : NSWindowController {
+ @private
+ IBOutlet NSTextField* nameField_;
+ IBOutlet NSSecureTextField* passwordField_;
+ LoginHandlerMac* handler_; // weak, owns us
+}
+- (id)initWithLoginHandler:(LoginHandlerMac*)handler;
+- (IBAction)loginPressed:(id)sender;
+- (IBAction)cancelPressed:(id)sender;
+- (void)sheetDidEnd:(NSWindow*)sheet
+ returnCode:(int)returnCode
+ contextInfo:(void *)contextInfo;
+@end
+
+#endif // CHROME_BROWSER_LOGIN_PROMPT_MAC_H_
« no previous file with comments | « chrome/browser/cocoa/download_request_dialog_delegate_mac.mm ('k') | chrome/browser/login_prompt_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698