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

Side by Side Diff: chrome/browser/ui/cocoa/options/search_engine_list_model.h

Issue 6339002: [Mac] Consolidate all files relating to preferences in a subdir of c/b/ui/coc... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_UI_COCOA_SEARCH_ENGINE_LIST_MODEL_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_OPTIONS_SEARCH_ENGINE_LIST_MODEL_H_
6 #define CHROME_BROWSER_UI_COCOA_SEARCH_ENGINE_LIST_MODEL_H_ 6 #define CHROME_BROWSER_UI_COCOA_OPTIONS_SEARCH_ENGINE_LIST_MODEL_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
11 #include "base/scoped_nsobject.h" 11 #include "base/scoped_nsobject.h"
12 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
13 13
14 class TemplateURLModel; 14 class TemplateURLModel;
15 class SearchEngineObserver; 15 class SearchEngineObserver;
16 16
(...skipping 21 matching lines...) Expand all
38 - (NSInteger)defaultIndex; 38 - (NSInteger)defaultIndex;
39 - (void)setDefaultIndex:(NSInteger)index; 39 - (void)setDefaultIndex:(NSInteger)index;
40 // Return TRUE if the default is managed via policy. 40 // Return TRUE if the default is managed via policy.
41 - (BOOL)isDefaultManaged; 41 - (BOOL)isDefaultManaged;
42 @end 42 @end
43 43
44 // Broadcast when the cross-platform model changes. This can be used to update 44 // Broadcast when the cross-platform model changes. This can be used to update
45 // any view state that may rely on the position of items in the list. 45 // any view state that may rely on the position of items in the list.
46 extern NSString* const kSearchEngineListModelChangedNotification; 46 extern NSString* const kSearchEngineListModelChangedNotification;
47 47
48 #endif // CHROME_BROWSER_UI_COCOA_SEARCH_ENGINE_LIST_MODEL_H_ 48 #endif // CHROME_BROWSER_UI_COCOA_OPTIONS_SEARCH_ENGINE_LIST_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698