summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_modal_dialog_mac.mm
Commit message (Collapse)AuthorAgeFilesLines
* [Mac] augment modal cookie prompt on mac to include details panedanno@chromium.org2010-03-121-4/+1
| | | | | | | | | | | | | | | | Added two new xibs. The first is a cookie info view that is shared between the tree that shows browser data and the cookie modal prompt to block accepting cookies. The second is a window to replace the NSAlert modal dialog for the cookie prompt. Modified cookie tree code and added cookie prompt code to use new xibs. Changed "hidden" handling of cookie detail view to use bindings rather than explicit code. TODOs for http://crbug.com/36948 not in this CL: - changing the expiration for cookies isn't implemented TEST=manually testing of modal cookie prompt, new unit tests BUG=http://crbug.com/36948 Review URL: http://codereview.chromium.org/669127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41408 0039d316-1c4b-4281-b951-d872f2087c98
* Next part of removing the dependency of chrome/common on chrome/browserphajdan.jr@chromium.org2010-03-061-0/+2
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/669184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40834 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored out JS specific part of modal dialog stack into its own class, ↵zelidrag@chromium.org2010-02-051-154/+2
| | | | | | | | | | | exposed cookie/storage prompt as a modal dialog. BUG=32719 TEST=none, requires Darin to hook this with his code. Review URL: http://codereview.chromium.org/560030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38268 0039d316-1c4b-4281-b951-d872f2087c98
* Fix js alert crasher when window is closed by jsfeldstein@chromium.org2010-01-221-1/+12
| | | | | | | | | | | There was a problem with pages that call window.close() then immediately open a js alert. The problem was that the TabContents would get destroyed, but the alert would stick around, and when you closed the alert, it would try to call back to the tab contents' js, crashing chrome. The other OSs got around this by closing the alert immediately, but mac didn't implement the CloseModalDialog method. This CL implements that. BUG=29580 TEST=Run the html attached to the bug Review URL: http://codereview.chromium.org/549126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36908 0039d316-1c4b-4281-b951-d872f2087c98
* Put in a "knock it off" checkbox in Mac alerts, to prevent web pages from ↵avi@chromium.org2009-12-021-5/+17
| | | | | | | | | | | locking the user out. Matches existing UI in Linux/Windows. BUG=http://crbug.com/26800 TEST=as in bug Review URL: http://codereview.chromium.org/460025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33610 0039d316-1c4b-4281-b951-d872f2087c98
* Use delegate protocols present in the 10.6 SDK. For previous SDKs, providemark@chromium.org2009-09-171-1/+2
| | | | | | | | | | empty protocol definitions for compatibility. BUG=20925 TEST=build Review URL: http://codereview.chromium.org/209004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26477 0039d316-1c4b-4281-b951-d872f2087c98
* Make the default ok/cancel button come from the pak files.thomasvl@chromium.org2009-08-281-8/+6
| | | | | | | | BUG=20496 TEST=more alerts should get localized strings. Review URL: http://codereview.chromium.org/181006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24752 0039d316-1c4b-4281-b951-d872f2087c98
* Alert dialogs only get one button.avi@chromium.org2009-05-201-4/+6
| | | | | | Review URL: http://codereview.chromium.org/113638 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16500 0039d316-1c4b-4281-b951-d872f2087c98
* Make javascript dialogs able to prompt for text.avi@chromium.org2009-05-191-13/+59
| | | | | | | | BUG=http://crbug.com/11137 Review URL: http://codereview.chromium.org/115484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16370 0039d316-1c4b-4281-b951-d872f2087c98
* Move: drag_drop_types, favicon_size, icon_util, insets, path, ↵ben@chromium.org2009-05-061-1/+1
| | | | | | | | | message_box_flags, os_exchange_data to src/app http://crbug.com/11387 Review URL: http://codereview.chromium.org/115012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15371 0039d316-1c4b-4281-b951-d872f2087c98
* Move l10n_util to app/ben@chromium.org2009-05-051-1/+1
| | | | | | | http://crbug.com/11387 Review URL: http://codereview.chromium.org/109043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15352 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r14146 which refactors DialogButton into cross platformtc@google.com2009-04-211-3/+3
| | | | | | | | | | code. This is the same as the last change except I renamed class MessageBox to class MessageBoxFlags to avoid conflicting with the same name in windows.h. Review URL: http://codereview.chromium.org/87065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14159 0039d316-1c4b-4281-b951-d872f2087c98
* Delete dialog after calling completion routines.pinkerton@chromium.org2009-04-171-0/+1
| | | | | | Review URL: http://codereview.chromium.org/69037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13932 0039d316-1c4b-4281-b951-d872f2087c98
* Implement app modal dialogs on mac.pinkerton@chromium.org2009-04-161-0/+106
Review URL: http://codereview.chromium.org/79012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13869 0039d316-1c4b-4281-b951-d872f2087c98