diff options
Diffstat (limited to 'chrome/browser/cocoa/preferences_window_controller.h')
-rw-r--r-- | chrome/browser/cocoa/preferences_window_controller.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/preferences_window_controller.h b/chrome/browser/cocoa/preferences_window_controller.h new file mode 100644 index 0000000..f1bf625 --- /dev/null +++ b/chrome/browser/cocoa/preferences_window_controller.h @@ -0,0 +1,21 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#import <Cocoa/Cocoa.h> + +class PrefService; + +// A window controller that handles the preferences window. +@interface PreferencesWindowController : NSWindowController { + @private + PrefService* prefs_; // weak ref +} + +// Designated initializer. |prefs| should not be NULL. +- (id)initWithPrefs:(PrefService*)prefs; + +// Show the preferences window. +- (IBAction)showPreferences:(id)sender; + +@end |