OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
6 | 6 |
7 // This view-controller holds just a "Disable" button. It is shown when the | 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 | 8 // pref-pane is launched manually, or when the user has just confirmed their |
9 // PIN and applied a new configuration. | 9 // PIN and applied a new configuration. |
10 @interface Me2MePreferencePaneDisable : NSViewController { | 10 @interface Me2MePreferencePaneDisable : NSViewController { |
11 IBOutlet NSButton* disable_button_; | 11 IBOutlet NSButton* disable_button_; |
12 id delegate_; | 12 id delegate_; |
13 } | 13 } |
14 | 14 |
15 @property (retain) id delegate; | 15 @property (retain) id delegate; |
16 | 16 |
17 - (void)setEnabled:(BOOL)enabled; | 17 - (void)setEnabled:(BOOL)enabled; |
18 - (IBAction)onDisable:(id)sender; | 18 - (IBAction)onDisable:(id)sender; |
19 | 19 |
20 @end | 20 @end |
OLD | NEW |