Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: chrome/browser/cocoa/content_settings_dialog_controller.h

Issue 650124: Mac: Move prefs around in preparation for the content settings window. (Closed)
Patch Set: done? Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698