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

Side by Side Diff: chrome/browser/ui/cocoa/location_bar/instant_opt_in_controller.mm

Issue 6046009: Move base/mac_util.h to base/mac and use the base::mac namespace.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "chrome/browser/ui/cocoa/location_bar/instant_opt_in_controller.h" 5 #import "chrome/browser/ui/cocoa/location_bar/instant_opt_in_controller.h"
6 6
7 #include "base/mac_util.h" 7 #include "base/mac/mac_util.h"
8 8
9 @implementation InstantOptInController 9 @implementation InstantOptInController
10 10
11 - (id)initWithDelegate:(InstantOptInControllerDelegate*)delegate { 11 - (id)initWithDelegate:(InstantOptInControllerDelegate*)delegate {
12 if ((self = [super initWithNibName:@"InstantOptIn" 12 if ((self = [super initWithNibName:@"InstantOptIn"
13 bundle:mac_util::MainAppBundle()])) { 13 bundle:base::mac::MainAppBundle()])) {
14 delegate_ = delegate; 14 delegate_ = delegate;
15 } 15 }
16 return self; 16 return self;
17 } 17 }
18 18
19 - (void)awakeFromNib { 19 - (void)awakeFromNib {
20 // TODO(rohitrao): Translate and resize strings. 20 // TODO(rohitrao): Translate and resize strings.
21 } 21 }
22 22
23 - (IBAction)ok:(id)sender { 23 - (IBAction)ok:(id)sender {
24 delegate_->UserPressedOptIn(true); 24 delegate_->UserPressedOptIn(true);
25 } 25 }
26 26
27 - (IBAction)cancel:(id)sender { 27 - (IBAction)cancel:(id)sender {
28 delegate_->UserPressedOptIn(false); 28 delegate_->UserPressedOptIn(false);
29 } 29 }
30 30
31 @end 31 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698