diff options
author | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 20:38:29 +0000 |
---|---|---|
committer | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 20:38:29 +0000 |
commit | 3868baed7247f13ac96e2f14f09121d43b59aab2 (patch) | |
tree | 46f15ba8f29d762b99a20c83b7011e3bb965396d /chrome/browser/message_box_handler.h | |
parent | 2b8e7ca060b5c7cae81676c233039c33c5ce080f (diff) | |
download | chromium_src-3868baed7247f13ac96e2f14f09121d43b59aab2.zip chromium_src-3868baed7247f13ac96e2f14f09121d43b59aab2.tar.gz chromium_src-3868baed7247f13ac96e2f14f09121d43b59aab2.tar.bz2 |
Put up a prompt to create appcaches if the Content Settings indicate to do 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
Diffstat (limited to 'chrome/browser/message_box_handler.h')
-rw-r--r-- | chrome/browser/message_box_handler.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/message_box_handler.h b/chrome/browser/message_box_handler.h index cf08804..be821f7 100644 --- a/chrome/browser/message_box_handler.h +++ b/chrome/browser/message_box_handler.h @@ -71,5 +71,14 @@ void RunDatabasePrompt( const string16& database_name, CookiePromptModalDialogDelegate* delegate); +// This will display a modal dialog box with the |manifest_url| and ask the +// user to accept or reject it. The caller should pass |delegate| that will +// handle the reply from the dialog. +void RunAppCachePrompt( + TabContents* tab_contents, + HostContentSettingsMap* host_content_settings_map, + const GURL& manifest_url, + CookiePromptModalDialogDelegate* delegate); + #endif // CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_ |