OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |