MD Downloads: prevent search text from overlapping with the cancel search (X)
[chromium-blink-merge.git] / remoting / host / mac / me2me_preference_pane_confirm_pin.h
blobf16ada363504b7dbb3d99f87e08a27d86ee77605
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;
9 @end
11 @interface Me2MePreferencePaneConfirmPin : NSViewController {
12 IBOutlet NSTextField* email_;
13 IBOutlet NSTextField* pin_;
14 IBOutlet NSButton* apply_button_;
15 id delegate_;
18 @property (retain) id delegate;
20 - (void)setEmail:(NSString*)email;
21 - (void)setButtonText:(NSString*)text;
22 - (void)setEnabled:(BOOL)enabled;
23 - (void)resetPin;
24 - (IBAction)onApply:(id)sender;
26 @end