summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/first_run_bubble_controller.h
blob: 43c8eabe801381d343c9d10cabbb98a3de80cedd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// 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 <Cocoa/Cocoa.h>

#import "chrome/browser/ui/cocoa/base_bubble_controller.h"

class Browser;
class Profile;

// Manages the first run bubble.
@interface FirstRunBubbleController : BaseBubbleController {
 @private
  IBOutlet NSTextField* header_;
  Browser* browser_;
  Profile* profile_;
}

// Creates and shows a first run bubble. |browser| is NULL in unittests.
+ (FirstRunBubbleController*) showForView:(NSView*)view
                                   offset:(NSPoint)offset
                                  browser:(Browser*)browser
                                  profile:(Profile*)profile;

// Handle the bubble's 'Change' button; direct users to search engine options.
- (IBAction)onChange:(id)sender;

@end