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 3 // found in the LICENSE file. 4 5 #import <Cocoa/Cocoa.h> 6 7 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" 8 9 class Browser; 10 class Profile; 11 12 // Manages the first run bubble. 13 @interface FirstRunBubbleController : BaseBubbleController { 14 @private 15 IBOutlet NSTextField* header_; 16 Browser* browser_; 17 Profile* profile_; 18 } 19 20 // Creates and shows a first run bubble. |browser| is NULL in unittests. 21 + (FirstRunBubbleController*) showForView:(NSView*)view 22 offset:(NSPoint)offset 23 browser:(Browser*)browser 24 profile:(Profile*)profile; 25 26 // Handle the bubble's 'Change' button; direct users to search engine options. 27 - (IBAction)onChange:(id)sender; 28 29 @end 30