bryner%netscape.com a3c670c75f Landing all changes from CHIMERA_M1_0_1_BRANCH onto the trunk, and adapting to trunk API changes. Not part of any normal build.
git-svn-id: svn://10.0.0.236/trunk@135167 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 11:34:25 +00:00

48 lines
1.6 KiB
Objective-C

#import <Cocoa/Cocoa.h>
#import <PreferencePanes/NSPreferencePane.h>
#import "PreferencePaneBase.h"
class nsIPref;
class nsIPermissionManager;
class nsISimpleEnumerator;
class nsISupportsArray;
@interface OrgMozillaChimeraPreferencePrivacy : PreferencePaneBase
{
IBOutlet NSButton* mCookiesEnabled;
IBOutlet NSButton* mAskAboutCookies;
IBOutlet id mCookieSitePanel;
IBOutlet NSButton* mEditSitesButton;
IBOutlet NSTextField* mEditSitesText;
IBOutlet NSButton* mStorePasswords;
IBOutlet NSButton* mAutoFillPasswords;
IBOutlet NSTableView* mSiteTable;
nsIPermissionManager* mManager; // STRONG (should be nsCOMPtr)
nsISupportsArray* mCachedPermissions; // parallel list of permissions for speed, STRONG (should be nsCOMPtr)
}
-(IBAction) clearCookies:(id)aSender;
-(IBAction) editCookieSites:(id)aSender;
-(IBAction) editCookieSitesDone:(id)aSender;
-(IBAction) removeCookieSite:(id)aSender;
- (void) editCookieSitesSheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo;
// data source informal protocol (NSTableDataSource)
- (int)numberOfRowsInTableView:(NSTableView *)aTableView;
- (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex;
-(IBAction) clickEnableCookies:(id)sender;
-(IBAction) clickAskAboutCookies:(id)sender;
-(IBAction) clickStorePasswords:(id)sender;
-(IBAction) clickAutoFillPasswords:(id)sender;
-(IBAction) launchKeychainAccess:(id)sender;
// helpers going between the enable cookie checkbox and the mozilla pref
-(BOOL)mapCookiePrefToCheckbox:(int)inCookiePref;
-(int)mapCookieCheckboxToPref:(BOOL)inCheckboxValue;
@end