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

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

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

Powered by Google App Engine
This is Rietveld 408576698