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

Side by Side Diff: chrome/browser/ui/cocoa/first_run_bubble_controller.h

Issue 9016036: Implement the new first run bubble, clean up old bubbles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and merge. Created 8 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
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/first_run_bubble_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/first_run_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698