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 "remoting/host/mac/me2me_preference_pane_disable.h"
7 @implementation Me2MePreferencePaneDisable
9 @synthesize delegate = delegate_;
12 self = [super initWithNibName:@"me2me_preference_pane_disable"
13 bundle:[NSBundle bundleForClass:[self class]]];
22 - (void)setEnabled:(BOOL)enabled {
23 [disable_button_ setEnabled:enabled];
26 - (void)onDisable:(id)sender {
27 [delegate_ onDisable:self];