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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/me2me_preference_pane_disable.mm
diff --git a/remoting/host/me2me_preference_pane_disable.mm b/remoting/host/me2me_preference_pane_disable.mm
new file mode 100644
index 0000000000000000000000000000000000000000..97bf3556215c094f5e37375814c4f7d0efda6651
--- /dev/null
+++ b/remoting/host/me2me_preference_pane_disable.mm
@@ -0,0 +1,30 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "me2me_preference_pane_disable.h"
+
+@implementation Me2MePreferencePaneDisable
+
+@synthesize delegate = delegate_;
+
+- (id)init {
+ self = [super initWithNibName:@"me2me_preference_pane_disable"
+ bundle:[NSBundle bundleForClass:[self class]]];
+ return self;
+}
+
+- (void)dealloc {
+ [delegate_ release];
+ [super dealloc];
+}
+
+- (void)setEnabled:(BOOL)enabled {
+ [disable_button_ setEnabled:enabled];
+}
+
+- (void)onDisable:(id)sender {
+ [delegate_ onDisable:self];
+}
+
+@end
« 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