| Index: chrome/browser/cocoa/content_settings_dialog_controller.h
|
| diff --git a/chrome/browser/cocoa/content_settings_dialog_controller.h b/chrome/browser/cocoa/content_settings_dialog_controller.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b5512c71038d2683ea0774df3370349b172fbb7f
|
| --- /dev/null
|
| +++ b/chrome/browser/cocoa/content_settings_dialog_controller.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright (c) 2010 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>
|
| +
|
| +#import "base/cocoa_protocols_mac.h"
|
| +#include "chrome/common/content_settings_types.h"
|
| +#include "chrome/browser/pref_member.h"
|
| +
|
| +class Profile;
|
| +
|
| +// This controller manages a dialog that lets the user manage the content
|
| +// settings for several content setting types.
|
| +@interface ContentSettingsDialogController
|
| + : NSWindowController<NSWindowDelegate> {
|
| + Profile* profile_; // weak
|
| + IntegerPrefMember lastSelectedTab_;
|
| +}
|
| +
|
| +// Show the content settings dialog associated with the given profile (or the
|
| +// original profile if this is an incognito profile). If no content settings
|
| +// dialog exists for this profile, create one and show it. Any resulting
|
| +// editor releases itself when closed.
|
| ++(id)showContentSettingsForType:(ContentSettingsType)settingsType
|
| + profile:(Profile*)profile;
|
| +
|
| +// Shows the cookies controller.
|
| +- (IBAction)showCookies:(id)sender;
|
| +
|
| +@end
|
|
|