Battery Status API: add UMA logging for Linux.
[chromium-blink-merge.git] / remoting / host / mac / me2me_preference_pane_disable.mm
bloba2aa8b3f08e5e1c372a8223ec9273e42b4ca2ce0
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_;
11 - (id)init {
12   self = [super initWithNibName:@"me2me_preference_pane_disable"
13                          bundle:[NSBundle bundleForClass:[self class]]];
14   return self;
17 - (void)dealloc {
18   [delegate_ release];
19   [super dealloc];
22 - (void)setEnabled:(BOOL)enabled {
23   [disable_button_ setEnabled:enabled];
26 - (void)onDisable:(id)sender {
27   [delegate_ onDisable:self];
30 @end