Index: remoting/host/me2me_preference_pane_confirm_pin.h |
diff --git a/remoting/host/me2me_preference_pane_confirm_pin.h b/remoting/host/me2me_preference_pane_confirm_pin.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f16ada363504b7dbb3d99f87e08a27d86ee77605 |
--- /dev/null |
+++ b/remoting/host/me2me_preference_pane_confirm_pin.h |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2012 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. |
+ |
+#import <Cocoa/Cocoa.h> |
+ |
+@protocol Me2MePreferencePaneConfirmPinHandler <NSObject> |
+- (void)applyConfiguration:(id)sender pin:(NSString*)pin; |
+@end |
+ |
+@interface Me2MePreferencePaneConfirmPin : NSViewController { |
+ IBOutlet NSTextField* email_; |
+ IBOutlet NSTextField* pin_; |
+ IBOutlet NSButton* apply_button_; |
+ id delegate_; |
+} |
+ |
+@property (retain) id delegate; |
+ |
+- (void)setEmail:(NSString*)email; |
+- (void)setButtonText:(NSString*)text; |
+- (void)setEnabled:(BOOL)enabled; |
+- (void)resetPin; |
+- (IBAction)onApply:(id)sender; |
+ |
+@end |