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. 4 5#import <Cocoa/Cocoa.h> 6 7// This view-controller holds just a "Disable" button. It is shown when the 8// pref-pane is launched manually, or when the user has just confirmed their 9// PIN and applied a new configuration. 10@interface Me2MePreferencePaneDisable : NSViewController { 11 IBOutlet NSButton* disable_button_; 12 id delegate_; 13} 14 15@property (retain) id delegate; 16 17- (void)setEnabled:(BOOL)enabled; 18- (IBAction)onDisable:(id)sender; 19 20@end 21