зеркало из 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;
|
clickAskAboutCookies = id;
|
||||||
clickCookieBehavior = id;
|
clickCookieBehavior = id;
|
||||||
clickStorePasswords = id;
|
clickStorePasswords = id;
|
||||||
cookieFilterChanged = id;
|
|
||||||
editCookies = id;
|
editCookies = id;
|
||||||
editCookiesDone = id;
|
editCookiesDone = id;
|
||||||
editKeychainExclusions = id;
|
editKeychainExclusions = id;
|
||||||
|
@ -30,9 +29,8 @@
|
||||||
editPermissions = id;
|
editPermissions = id;
|
||||||
editPermissionsDone = id;
|
editPermissionsDone = id;
|
||||||
expandCookiePermission = id;
|
expandCookiePermission = id;
|
||||||
keychainExclusionsFilterChanged = id;
|
filterChanged = id;
|
||||||
launchKeychainAccess = id;
|
launchKeychainAccess = id;
|
||||||
permissionFilterChanged = id;
|
|
||||||
removeAllCookiePermissions = id;
|
removeAllCookiePermissions = id;
|
||||||
removeAllCookies = id;
|
removeAllCookies = id;
|
||||||
removeAllKeychainExclusions = id;
|
removeAllKeychainExclusions = id;
|
||||||
|
|
|
@ -17,10 +17,6 @@
|
||||||
<string>446.1</string>
|
<string>446.1</string>
|
||||||
<key>IBOldestOS</key>
|
<key>IBOldestOS</key>
|
||||||
<integer>3</integer>
|
<integer>3</integer>
|
||||||
<key>IBOpenObjects</key>
|
|
||||||
<array>
|
|
||||||
<integer>401</integer>
|
|
||||||
</array>
|
|
||||||
<key>IBSystem Version</key>
|
<key>IBSystem Version</key>
|
||||||
<string>8S2167</string>
|
<string>8S2167</string>
|
||||||
</dict>
|
</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 ExtendedTableView* mPermissionsTable;
|
||||||
IBOutlet NSTableColumn* mPermissionColumn;
|
IBOutlet NSTableColumn* mPermissionColumn;
|
||||||
IBOutlet NSSearchField* mPermissionFilterField;
|
IBOutlet NSSearchField* mPermissionFilterField;
|
||||||
NSMutableArray* mCachedPermissions; // strong
|
NSMutableArray* mPermissions; // strong
|
||||||
|
|
||||||
// cookie sheet
|
// cookie sheet
|
||||||
IBOutlet id mCookiesPanel;
|
IBOutlet id mCookiesPanel;
|
||||||
|
@ -90,40 +90,34 @@ typedef enum ECookiePolicyPopupIndex
|
||||||
}
|
}
|
||||||
|
|
||||||
// main panel button actions
|
// main panel button actions
|
||||||
-(IBAction) clickCookieBehavior:(id)aSender;
|
- (IBAction)clickCookieBehavior:(id)aSender;
|
||||||
-(IBAction) clickAskAboutCookies:(id)sender;
|
- (IBAction)clickAskAboutCookies:(id)sender;
|
||||||
-(IBAction) clickStorePasswords:(id)sender;
|
- (IBAction)clickStorePasswords:(id)sender;
|
||||||
-(IBAction) launchKeychainAccess:(id)sender;
|
- (IBAction)launchKeychainAccess:(id)sender;
|
||||||
-(IBAction) editKeychainExclusions:(id)sender;
|
- (IBAction)editKeychainExclusions:(id)sender;
|
||||||
|
|
||||||
// cookie editing functions
|
// cookie editing functions
|
||||||
-(void) populateCookieCache;
|
- (IBAction)editCookies:(id)aSender;
|
||||||
-(IBAction) editCookies:(id)aSender;
|
- (IBAction)editCookiesDone:(id)aSender;
|
||||||
-(IBAction) editCookiesDone:(id)aSender;
|
- (IBAction)removeCookies:(id)aSender;
|
||||||
-(IBAction) removeCookies:(id)aSender;
|
- (IBAction)removeAllCookies:(id)aSender;
|
||||||
-(IBAction) removeAllCookies:(id)aSender;
|
- (IBAction)allowCookiesFromSites:(id)aSender;
|
||||||
-(IBAction) allowCookiesFromSites:(id)aSender;
|
- (IBAction)blockCookiesFromSites:(id)aSender;
|
||||||
-(IBAction) blockCookiesFromSites:(id)aSender;
|
- (IBAction)removeCookiesAndBlockSites:(id)aSender;
|
||||||
-(IBAction) removeCookiesAndBlockSites:(id)aSender;
|
|
||||||
|
|
||||||
// permission editing functions
|
// permission editing functions
|
||||||
- (void)populatePermissionCache;
|
|
||||||
- (IBAction)editPermissions:(id)aSender;
|
- (IBAction)editPermissions:(id)aSender;
|
||||||
- (IBAction)editPermissionsDone:(id)aSender;
|
- (IBAction)editPermissionsDone:(id)aSender;
|
||||||
- (IBAction)expandCookiePermission:(id)aSender;
|
- (IBAction)expandCookiePermission:(id)aSender;
|
||||||
- (IBAction)removeCookiePermissions:(id)aSender;
|
- (IBAction)removeCookiePermissions:(id)aSender;
|
||||||
- (IBAction)removeAllCookiePermissions:(id)aSender;
|
- (IBAction)removeAllCookiePermissions:(id)aSender;
|
||||||
- (int)rowForPermissionWithHost:(NSString *)aHost;
|
|
||||||
|
|
||||||
// keychain exclusion list editing functions
|
// keychain exclusion list editing functions
|
||||||
- (void)loadKeychainExclusions;
|
|
||||||
- (IBAction)editKeychainExclusions:(id)sender;
|
- (IBAction)editKeychainExclusions:(id)sender;
|
||||||
- (IBAction)editKeychainExclusionsDone:(id)sender;
|
- (IBAction)editKeychainExclusionsDone:(id)sender;
|
||||||
- (IBAction)removeKeychainExclusions:(id)sender;
|
- (IBAction)removeKeychainExclusions:(id)sender;
|
||||||
- (IBAction)removeAllKeychainExclusions:(id)sender;
|
- (IBAction)removeAllKeychainExclusions:(id)sender;
|
||||||
|
|
||||||
-(void) mapCookiePrefToGUI:(int)pref;
|
|
||||||
|
|
||||||
// data source informal protocol (NSTableDataSource)
|
// data source informal protocol (NSTableDataSource)
|
||||||
- (int)numberOfRowsInTableView:(NSTableView *)aTableView;
|
- (int)numberOfRowsInTableView:(NSTableView *)aTableView;
|
||||||
- (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex;
|
- (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex;
|
||||||
|
@ -132,13 +126,9 @@ typedef enum ECookiePolicyPopupIndex
|
||||||
// NSTableView delegate methods
|
// NSTableView delegate methods
|
||||||
- (void)tableView:(NSTableView *)aTableView didClickTableColumn:(NSTableColumn *)aTableColumn;
|
- (void)tableView:(NSTableView *)aTableView didClickTableColumn:(NSTableColumn *)aTableColumn;
|
||||||
|
|
||||||
// filtering methods
|
// Filtering delegate
|
||||||
- (IBAction)cookieFilterChanged:(id)sender;
|
- (IBAction)filterChanged:(id)sender;
|
||||||
- (IBAction)permissionFilterChanged:(id)sender;
|
|
||||||
- (IBAction)keychainExclusionsFilterChanged:(id)sender;
|
|
||||||
- (void) filterCookiesPermissionsWithString: (NSString*) inFilterString;
|
|
||||||
- (void) filterCookiesWithString: (NSString*) inFilterString;
|
|
||||||
- (void) filterKeychainExclusionsWithString: (NSString*)filterString;
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
// custom formatter for cookies list to handle session cookie expiration sanely
|
// custom formatter for cookies list to handle session cookie expiration sanely
|
||||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче