| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #import <Cocoa/Cocoa.h> |
| 6 |
| 7 #import "base/cocoa_protocols_mac.h" |
| 8 #include "chrome/common/content_settings_types.h" |
| 9 #include "chrome/browser/pref_member.h" |
| 10 |
| 11 class Profile; |
| 12 |
| 13 // This controller manages a dialog that lets the user manage the content |
| 14 // settings for several content setting types. |
| 15 @interface ContentSettingsDialogController |
| 16 : NSWindowController<NSWindowDelegate> { |
| 17 Profile* profile_; // weak |
| 18 IntegerPrefMember lastSelectedTab_; |
| 19 } |
| 20 |
| 21 // Show the content settings dialog associated with the given profile (or the |
| 22 // original profile if this is an incognito profile). If no content settings |
| 23 // dialog exists for this profile, create one and show it. Any resulting |
| 24 // editor releases itself when closed. |
| 25 +(id)showContentSettingsForType:(ContentSettingsType)settingsType |
| 26 profile:(Profile*)profile; |
| 27 |
| 28 // Shows the cookies controller. |
| 29 - (IBAction)showCookies:(id)sender; |
| 30 |
| 31 @end |
| OLD | NEW |