summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cookie_modal_dialog_gtk.cc
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 20:38:29 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 20:38:29 +0000
commit3868baed7247f13ac96e2f14f09121d43b59aab2 (patch)
tree46f15ba8f29d762b99a20c83b7011e3bb965396d /chrome/browser/cookie_modal_dialog_gtk.cc
parent2b8e7ca060b5c7cae81676c233039c33c5ce080f (diff)
downloadchromium_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/cookie_modal_dialog_gtk.cc')
-rw-r--r--chrome/browser/cookie_modal_dialog_gtk.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/cookie_modal_dialog_gtk.cc b/chrome/browser/cookie_modal_dialog_gtk.cc
index 4ff08f6..700236a 100644
--- a/chrome/browser/cookie_modal_dialog_gtk.cc
+++ b/chrome/browser/cookie_modal_dialog_gtk.cc
@@ -119,6 +119,10 @@ NativeDialog CookiePromptModalDialog::CreateNativeDialog() {
cookie_view,
origin().host(),
database_name());
+ } else if (type == CookiePromptModalDialog::DIALOG_TYPE_APPCACHE) {
+ gtk_chrome_cookie_view_display_appcache_created(
+ cookie_view,
+ appcache_manifest_url());
} else {
NOTIMPLEMENTED();
}