OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #import <Cocoa/Cocoa.h> |
| 6 |
| 7 class PrefService; |
| 8 |
| 9 // A window controller that handles the preferences window. |
| 10 @interface PreferencesWindowController : NSWindowController { |
| 11 @private |
| 12 PrefService* prefs_; // weak ref |
| 13 } |
| 14 |
| 15 // Designated initializer. |prefs| should not be NULL. |
| 16 - (id)initWithPrefs:(PrefService*)prefs; |
| 17 |
| 18 // Show the preferences window. |
| 19 - (IBAction)showPreferences:(id)sender; |
| 20 |
| 21 @end |
OLD | NEW |