summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/download_item_controller.mm
diff options
context:
space:
mode:
authordanno@chromium.org <danno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-25 09:38:02 +0000
committerdanno@chromium.org <danno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-25 09:38:02 +0000
commitc7ae70250e69ce895b8c1bb98b0af5ae6c045cc9 (patch)
treec2e21cfe1b27f92a300ebb65f88c037ecda34b0a /chrome/browser/cocoa/download_item_controller.mm
parent6cca3e8d0074773db63858def6cbcfb34670134c (diff)
downloadchromium_src-c7ae70250e69ce895b8c1bb98b0af5ae6c045cc9.zip
chromium_src-c7ae70250e69ce895b8c1bb98b0af5ae6c045cc9.tar.gz
chromium_src-c7ae70250e69ce895b8c1bb98b0af5ae6c045cc9.tar.bz2
[Mac] Allow user to change cookie expiration date in cookie prompt
Added the necessary code and madde xib changes to make it possible to select "When I close my browser" as the expiration for a cookie in the cookie prompt dialog. xib changes: - Add explicit outlet to details view controller for the layout tweaker so that can be called explicitly from code. - Modify already existing popup menu for selecting cookie expiration to have the right menu items: item 1 is content.details.expires and item 2 is ^IDS_COOKIES_COOKIE_EXPIRES_SESSION. - Wire the hidden binding of the expiration menu to the key value path content.details.canEditExpiration with a NSNegateBoolean transformer. - Wire the visibility of the "expires" text in cookie details to the key value path content.details.canEditExpiration. BUG=http://crbug.com/38405 TEST=manual testing, new units tests Review URL: http://codereview.chromium.org/1134005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/download_item_controller.mm')
0 files changed, 0 insertions, 0 deletions