summaryrefslogtreecommitdiffstats
path: root/chrome/browser/message_box_handler.h
Commit message (Collapse)AuthorAgeFilesLines
* Clean up message_box_handler.h.xiyuan@chromium.org2010-10-041-48/+1
| | | | | | | | | BUG=none. TEST=All build bots should still be happy. Review URL: http://codereview.chromium.org/3619001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61393 0039d316-1c4b-4281-b951-d872f2087c98
* Add a Delegate to JavaScriptAppModalDialog.tfarina@chromium.org2010-10-021-2/+2
| | | | | | | | | | | | | | | | | Done a couples of things here: - Renamed JavaScriptMessageBoxClient to JavaScriptMessageBoxDelegate (since this is a common pattern in chrome and helps the reader to find out where the message box goes). - Moved that class into js_modal_dialog.h file. - Deleted jsmessage_box_client.h It is a following to http://codereview.chromium.org/3384036. BUG=54988 TEST=trybots Review URL: http://codereview.chromium.org/3576003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61309 0039d316-1c4b-4281-b951-d872f2087c98
* Don't show "The page at..." in the Bookmark Manager confirmation dialog.tfarina@chromium.org2010-09-051-2/+3
| | | | | | | | | | | BUG=52729 TEST=have more than 15 bookmarks in bookmark manager, try to open or delete them all at once, a confirmation dialog will be shown, notice that the "The page at..." is not more visible. Review URL: http://codereview.chromium.org/3195013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58612 0039d316-1c4b-4281-b951-d872f2087c98
* `#pragma once` for app, base, chrome, gfx, ipc, net, skia, viewsthakis@chromium.org2010-07-261-0/+1
| | | | | | | | | BUG=50273 TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux TBR: erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 43183. Block database access on allowDatabase instead of ↵jochen@chromium.org2010-03-311-0/+2
| | | | | | databaseOpenFile. BUG=36435 TEST=Set cookie settings to ASK and open a page with web databases. Review URL: http://codereview.chromium.org/1338001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43185 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 43183 - Block database access on allowDatabase instead of ↵jochen@chromium.org2010-03-311-2/+0
| | | | | | | | | | | | | | databaseOpenFile. BUG=36435 TEST=Set cookie settings to ASK and open a page with web databases. Review URL: http://codereview.chromium.org/1338001 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/1595003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43184 0039d316-1c4b-4281-b951-d872f2087c98
* Block database access on allowDatabase instead of databaseOpenFile.jochen@chromium.org2010-03-311-0/+2
| | | | | | | | | BUG=36435 TEST=Set cookie settings to ASK and open a page with web databases. Review URL: http://codereview.chromium.org/1338001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43183 0039d316-1c4b-4281-b951-d872f2087c98
* Put up a prompt to create appcaches if the Content Settings indicate to do ↵michaeln@chromium.org2010-03-241-0/+9
| | | | | | | | | | | so. Done for windows and linux (sorry mac, you're out of luck). Also put in place a GenericInfoView class. BUG=38362 TEST=manual and generic_info_view_unittest.cc Review URL: http://codereview.chromium.org/1115005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42525 0039d316-1c4b-4281-b951-d872f2087c98
* Small preparation for the cookie confirmation dialog on linux/osx.thakis@chromium.org2010-02-231-3/+0
| | | | | | | | BUG=34894,35178 Review URL: http://codereview.chromium.org/650204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39696 0039d316-1c4b-4281-b951-d872f2087c98
* Pass in the HostContentSettingsMap to the CookieModalDialog so IsValid can ↵jorlow@chromium.org2010-02-201-0/+4
| | | | | | | | | | | | | | | make its decision. Before, it used the TabContents to get the profile to get the map, but this was incorrect because the current tab isn't necessarily from the same profile as the original request. As long as we have the HostContentSettingsMap, we might as well handle "remember" in CookieModalDialog. This bug exists in 4.1. TEST=none BUG=none Review URL: http://codereview.chromium.org/651023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39558 0039d316-1c4b-4281-b951-d872f2087c98
* Implement CONTENT_SETTING_ASK for database. Also some cleanup of the dialog ↵jorlow@chromium.org2010-02-171-0/+9
| | | | | | | | | | | for local storage. BUG=34628 TEST=none Review URL: http://codereview.chromium.org/605028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39214 0039d316-1c4b-4281-b951-d872f2087c98
* Make the setItem CONTENT_SETTING_ASK dialog more useful by showing the ↵jorlow@chromium.org2010-02-121-2/+5
| | | | | | | | | | | | | actual key and value. Unfortunately, we're going to have to abuse cookie strings for 4.1 Once this goes in, I'll add new strings for the actual fields. This also cleans up the code some. TEST=Instead of size/modified information you'll see "name" and "content" in the dialog that comes up when asking whether to allow local storage. BUG=none Review URL: http://codereview.chromium.org/597061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38952 0039d316-1c4b-4281-b951-d872f2087c98
* Show an app modal dialog when the cookie policy is ASK.darin@chromium.org2010-02-081-2/+2
| | | | | | | | | | | | This hooks up the dialog for cookies and localstorage. It also includes support for remembering the decision, and in the case of cookies, support is added for forcing a cookie to be a stored as a session cookie. BUG=34625,34572 Review URL: http://codereview.chromium.org/583004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38393 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored out JS specific part of modal dialog stack into its own class, ↵zelidrag@chromium.org2010-02-051-0/+62
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