| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 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 <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" | 7 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" |
| 8 | 8 |
| 9 class Profile; | 9 class Profile; |
| 10 | 10 |
| 11 // Manages the first run bubble. | 11 // Manages the first run bubble. |
| 12 @interface FirstRunBubbleController : BaseBubbleController { | 12 @interface FirstRunBubbleController : BaseBubbleController { |
| 13 @private | 13 @private |
| 14 // Header label. | |
| 15 IBOutlet NSTextField* header_; | 14 IBOutlet NSTextField* header_; |
| 16 | |
| 17 Profile* profile_; | 15 Profile* profile_; |
| 18 } | 16 } |
| 19 | 17 |
| 20 // Creates and shows a firstRun bubble. | 18 // Creates and shows a first run bubble. |
| 21 + (FirstRunBubbleController*) showForView:(NSView*)view | 19 + (FirstRunBubbleController*) showForView:(NSView*)view |
| 22 offset:(NSPoint)offset | 20 offset:(NSPoint)offset |
| 23 profile:(Profile*)profile; | 21 profile:(Profile*)profile; |
| 22 |
| 23 // Handle the bubble's 'Change' button; direct users to search engine options. |
| 24 - (IBAction)onChange:(id)sender; |
| 25 |
| 24 @end | 26 @end |
| OLD | NEW |