| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 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 #include "base/scoped_ptr.h" | 7 #include "base/scoped_ptr.h" |
| 8 #include "base/scoped_nsobject.h" | 8 #include "base/scoped_nsobject.h" |
| 9 #include "chrome/browser/options_window.h" | |
| 10 #include "chrome/browser/prefs/pref_member.h" | 9 #include "chrome/browser/prefs/pref_member.h" |
| 11 #include "chrome/browser/prefs/pref_set_observer.h" | 10 #include "chrome/browser/prefs/pref_set_observer.h" |
| 12 #include "chrome/browser/prefs/pref_change_registrar.h" | 11 #include "chrome/browser/prefs/pref_change_registrar.h" |
| 12 #include "chrome/browser/ui/options/options_window.h" |
| 13 | 13 |
| 14 namespace PreferencesWindowControllerInternal { | 14 namespace PreferencesWindowControllerInternal { |
| 15 class PrefObserverBridge; | 15 class PrefObserverBridge; |
| 16 class ManagedPrefsBannerState; | 16 class ManagedPrefsBannerState; |
| 17 } | 17 } |
| 18 | 18 |
| 19 @class CustomHomePagesModel; | 19 @class CustomHomePagesModel; |
| 20 @class FontLanguageSettingsController; | 20 @class FontLanguageSettingsController; |
| 21 class PrefService; | 21 class PrefService; |
| 22 class Profile; | 22 class Profile; |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 | 232 |
| 233 // Returns the (normalized) page corresponding to the given toolbar item. | 233 // Returns the (normalized) page corresponding to the given toolbar item. |
| 234 // Should be called only after awakeFromNib is. | 234 // Should be called only after awakeFromNib is. |
| 235 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem; | 235 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem; |
| 236 | 236 |
| 237 // Returns the view corresponding to the given page. Should be called | 237 // Returns the view corresponding to the given page. Should be called |
| 238 // only after awakeFromNib is. | 238 // only after awakeFromNib is. |
| 239 - (NSView*)getPrefsViewForPage:(OptionsPage)page; | 239 - (NSView*)getPrefsViewForPage:(OptionsPage)page; |
| 240 | 240 |
| 241 @end | 241 @end |
| OLD | NEW |