mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
43ca5b70d1
as you click the control, not only when the panel goes away.
26 lines
612 B
Objective-C
26 lines
612 B
Objective-C
#import <Cocoa/Cocoa.h>
|
|
#import <PreferencePanes/NSPreferencePane.h>
|
|
|
|
class nsIPref;
|
|
|
|
@interface OrgMozillaChimeraPreferencePrivacy : NSPreferencePane
|
|
{
|
|
IBOutlet id mCookies;
|
|
IBOutlet NSButton* mPromptForCookie;
|
|
|
|
IBOutlet NSButton* mEnableJS;
|
|
IBOutlet NSButton* mEnableJava;
|
|
|
|
nsIPref* mPrefService; // strong ref, but can't use comPtr here
|
|
}
|
|
|
|
-(IBAction) clearCookies:(id)aSender;
|
|
-(IBAction) clearDiskCache:(id)aSender;
|
|
|
|
-(IBAction) clickPromptForCookie:(id)sender;
|
|
-(IBAction) clickEnableCookies:(id)sender;
|
|
-(IBAction) clickEnableJS:(id)sender;
|
|
-(IBAction) clickEnableJava:(id)sender;
|
|
|
|
@end
|