зеркало из https://github.com/mozilla/pjs.git
Camino only - Bug 411197: Share more code in the Privacy pane (and do some rearranging/cleanup at the same time). r/sr=mento
This commit is contained in:
Родитель
cec7bb05ab
Коммит
c41dec6817
|
@ -22,7 +22,6 @@
|
|||
clickAskAboutCookies = id;
|
||||
clickCookieBehavior = id;
|
||||
clickStorePasswords = id;
|
||||
cookieFilterChanged = id;
|
||||
editCookies = id;
|
||||
editCookiesDone = id;
|
||||
editKeychainExclusions = id;
|
||||
|
@ -30,9 +29,8 @@
|
|||
editPermissions = id;
|
||||
editPermissionsDone = id;
|
||||
expandCookiePermission = id;
|
||||
keychainExclusionsFilterChanged = id;
|
||||
filterChanged = id;
|
||||
launchKeychainAccess = id;
|
||||
permissionFilterChanged = id;
|
||||
removeAllCookiePermissions = id;
|
||||
removeAllCookies = id;
|
||||
removeAllKeychainExclusions = id;
|
||||
|
|
|
@ -17,10 +17,6 @@
|
|||
<string>446.1</string>
|
||||
<key>IBOldestOS</key>
|
||||
<integer>3</integer>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>401</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
<string>8S2167</string>
|
||||
</dict>
|
||||
|
|
Двоичные данные
camino/PreferencePanes/Privacy/English.lproj/Privacy.nib/keyedobjects.nib
сгенерированный
Двоичные данные
camino/PreferencePanes/Privacy/English.lproj/Privacy.nib/keyedobjects.nib
сгенерированный
Двоичный файл не отображается.
|
@ -74,7 +74,7 @@ typedef enum ECookiePolicyPopupIndex
|
|||
IBOutlet ExtendedTableView* mPermissionsTable;
|
||||
IBOutlet NSTableColumn* mPermissionColumn;
|
||||
IBOutlet NSSearchField* mPermissionFilterField;
|
||||
NSMutableArray* mCachedPermissions; // strong
|
||||
NSMutableArray* mPermissions; // strong
|
||||
|
||||
// cookie sheet
|
||||
IBOutlet id mCookiesPanel;
|
||||
|
@ -90,40 +90,34 @@ typedef enum ECookiePolicyPopupIndex
|
|||
}
|
||||
|
||||
// main panel button actions
|
||||
-(IBAction) clickCookieBehavior:(id)aSender;
|
||||
-(IBAction) clickAskAboutCookies:(id)sender;
|
||||
-(IBAction) clickStorePasswords:(id)sender;
|
||||
-(IBAction) launchKeychainAccess:(id)sender;
|
||||
-(IBAction) editKeychainExclusions:(id)sender;
|
||||
- (IBAction)clickCookieBehavior:(id)aSender;
|
||||
- (IBAction)clickAskAboutCookies:(id)sender;
|
||||
- (IBAction)clickStorePasswords:(id)sender;
|
||||
- (IBAction)launchKeychainAccess:(id)sender;
|
||||
- (IBAction)editKeychainExclusions:(id)sender;
|
||||
|
||||
// cookie editing functions
|
||||
-(void) populateCookieCache;
|
||||
-(IBAction) editCookies:(id)aSender;
|
||||
-(IBAction) editCookiesDone:(id)aSender;
|
||||
-(IBAction) removeCookies:(id)aSender;
|
||||
-(IBAction) removeAllCookies:(id)aSender;
|
||||
-(IBAction) allowCookiesFromSites:(id)aSender;
|
||||
-(IBAction) blockCookiesFromSites:(id)aSender;
|
||||
-(IBAction) removeCookiesAndBlockSites:(id)aSender;
|
||||
- (IBAction)editCookies:(id)aSender;
|
||||
- (IBAction)editCookiesDone:(id)aSender;
|
||||
- (IBAction)removeCookies:(id)aSender;
|
||||
- (IBAction)removeAllCookies:(id)aSender;
|
||||
- (IBAction)allowCookiesFromSites:(id)aSender;
|
||||
- (IBAction)blockCookiesFromSites:(id)aSender;
|
||||
- (IBAction)removeCookiesAndBlockSites:(id)aSender;
|
||||
|
||||
// permission editing functions
|
||||
- (void)populatePermissionCache;
|
||||
- (IBAction)editPermissions:(id)aSender;
|
||||
- (IBAction)editPermissionsDone:(id)aSender;
|
||||
- (IBAction)expandCookiePermission:(id)aSender;
|
||||
- (IBAction)removeCookiePermissions:(id)aSender;
|
||||
- (IBAction)removeAllCookiePermissions:(id)aSender;
|
||||
- (int)rowForPermissionWithHost:(NSString *)aHost;
|
||||
|
||||
// keychain exclusion list editing functions
|
||||
- (void)loadKeychainExclusions;
|
||||
- (IBAction)editKeychainExclusions:(id)sender;
|
||||
- (IBAction)editKeychainExclusionsDone:(id)sender;
|
||||
- (IBAction)removeKeychainExclusions:(id)sender;
|
||||
- (IBAction)removeAllKeychainExclusions:(id)sender;
|
||||
|
||||
-(void) mapCookiePrefToGUI:(int)pref;
|
||||
|
||||
// data source informal protocol (NSTableDataSource)
|
||||
- (int)numberOfRowsInTableView:(NSTableView *)aTableView;
|
||||
- (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex;
|
||||
|
@ -132,13 +126,9 @@ typedef enum ECookiePolicyPopupIndex
|
|||
// NSTableView delegate methods
|
||||
- (void)tableView:(NSTableView *)aTableView didClickTableColumn:(NSTableColumn *)aTableColumn;
|
||||
|
||||
// filtering methods
|
||||
- (IBAction)cookieFilterChanged:(id)sender;
|
||||
- (IBAction)permissionFilterChanged:(id)sender;
|
||||
- (IBAction)keychainExclusionsFilterChanged:(id)sender;
|
||||
- (void) filterCookiesPermissionsWithString: (NSString*) inFilterString;
|
||||
- (void) filterCookiesWithString: (NSString*) inFilterString;
|
||||
- (void) filterKeychainExclusionsWithString: (NSString*)filterString;
|
||||
// Filtering delegate
|
||||
- (IBAction)filterChanged:(id)sender;
|
||||
|
||||
@end
|
||||
|
||||
// custom formatter for cookies list to handle session cookie expiration sanely
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче