diff options
Diffstat (limited to 'chrome/browser/cocoa/location_bar/instant_opt_in_controller.mm')
-rw-r--r-- | chrome/browser/cocoa/location_bar/instant_opt_in_controller.mm | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/chrome/browser/cocoa/location_bar/instant_opt_in_controller.mm b/chrome/browser/cocoa/location_bar/instant_opt_in_controller.mm deleted file mode 100644 index 181dc44..0000000 --- a/chrome/browser/cocoa/location_bar/instant_opt_in_controller.mm +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) 2010 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 "chrome/browser/cocoa/location_bar/instant_opt_in_controller.h" - -#include "base/mac_util.h" - -@implementation InstantOptInController - -- (id)initWithDelegate:(InstantOptInControllerDelegate*)delegate { - if ((self = [super initWithNibName:@"InstantOptIn" - bundle:mac_util::MainAppBundle()])) { - delegate_ = delegate; - } - return self; -} - -- (void)awakeFromNib { - // TODO(rohitrao): Translate and resize strings. -} - -- (IBAction)ok:(id)sender { - delegate_->UserPressedOptIn(true); -} - -- (IBAction)cancel:(id)sender { - delegate_->UserPressedOptIn(false); -} - -@end |