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/prefs/pref_member.h" | 9 #include "chrome/browser/prefs/pref_member.h" |
10 #include "chrome/browser/prefs/pref_set_observer.h" | 10 #include "chrome/browser/prefs/pref_set_observer.h" |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 | 231 |
232 // Returns the (normalized) page corresponding to the given toolbar item. | 232 // Returns the (normalized) page corresponding to the given toolbar item. |
233 // Should be called only after awakeFromNib is. | 233 // Should be called only after awakeFromNib is. |
234 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem; | 234 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem; |
235 | 235 |
236 // Returns the view corresponding to the given page. Should be called | 236 // Returns the view corresponding to the given page. Should be called |
237 // only after awakeFromNib is. | 237 // only after awakeFromNib is. |
238 - (NSView*)getPrefsViewForPage:(OptionsPage)page; | 238 - (NSView*)getPrefsViewForPage:(OptionsPage)page; |
239 | 239 |
240 @end | 240 @end |
OLD | NEW |