1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #import <Cocoa/Cocoa.h>
7 @protocol Me2MePreferencePaneConfirmPinHandler
<NSObject
>
8 - (void)applyConfiguration
:(id
)sender pin
:(NSString
*)pin
;
11 @interface Me2MePreferencePaneConfirmPin
: NSViewController
{
12 IBOutlet NSTextField
* email_
;
13 IBOutlet NSTextField
* pin_
;
14 IBOutlet NSButton
* apply_button_
;
18 @
property (retain
) id delegate
;
20 - (void)setEmail
:(NSString
*)email
;
21 - (void)setButtonText
:(NSString
*)text
;
22 - (void)setEnabled
:(BOOL
)enabled
;
24 - (IBAction
)onApply
:(id
)sender
;