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

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

Issue 9285002: Remove the first-run search engine dialog/ballot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and merge. Created 8 years, 10 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
(Empty)
1 // Copyright (c) 2011 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 #include <vector>
8
9 #import "base/memory/ref_counted.h"
10 #import "base/memory/scoped_nsobject.h"
11 #include "base/memory/scoped_ptr.h"
12
13 class Profile;
14 class SearchEngineDialogControllerBridge;
15 class TemplateURL;
16 class TemplateURLService;
17
18 // Class that acts as a controller for the search engine choice dialog.
19 @interface SearchEngineDialogController : NSWindowController {
20 @private
21 // Our current profile.
22 Profile* profile_;
23
24 // If logos are to be displayed in random order. Used for UX testing.
25 bool randomize_;
26
27 // Owned by the profile_.
28 TemplateURLService* searchEnginesModel_;
29
30 // Bridge to the C++ world.
31 scoped_refptr<SearchEngineDialogControllerBridge> bridge_;
32
33 // Offered search engine choices.
34 std::vector<const TemplateURL*> choices_;
35
36 IBOutlet NSImageView* headerImageView_;
37 IBOutlet NSView* searchEngineView_;
38 }
39
40 @property(assign, nonatomic) Profile* profile;
41 @property(assign, nonatomic) bool randomize;
42
43 // Properties for bindings.
44 @property(readonly) NSFont* mainLabelFont;
45
46 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/first_run_dialog.mm ('k') | chrome/browser/ui/cocoa/search_engine_dialog_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698