Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Side by Side Diff: remoting/host/me2me_preference_pane_disable.mm

Issue 10411032: Implement Mac pref-pane UI mockups (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix license header Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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 "me2me_preference_pane_disable.h"
6
7 @implementation Me2MePreferencePaneDisable
8
9 @synthesize delegate = delegate_;
10
11 - (id)init {
12 self = [super initWithNibName:@"me2me_preference_pane_disable"
13 bundle:[NSBundle bundleForClass:[self class]]];
14 return self;
15 }
16
17 - (void)dealloc {
18 [delegate_ release];
19 [super dealloc];
20 }
21
22 - (void)setEnabled:(BOOL)enabled {
23 [disable_button_ setEnabled:enabled];
24 }
25
26 - (void)onDisable:(id)sender {
27 [delegate_ onDisable:self];
28 }
29
30 @end
OLDNEW
« no previous file with comments | « remoting/host/me2me_preference_pane_disable.h ('k') | remoting/host/me2me_preference_pane_disable.xib » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698