summaryrefslogtreecommitdiffstats
path: root/chrome/browser/content_setting_bubble_model.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-15 15:54:19 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-15 15:54:19 +0000
commitfacc6ada0300c8e9a67b0cf283257a2c70fa15c2 (patch)
tree7abfb80d70b15b344e2c246fc4d3bf13bc8f7d4e /chrome/browser/content_setting_bubble_model.cc
parent0dad8074499c8a2784505f826505bd8862d618a1 (diff)
downloadchromium_src-facc6ada0300c8e9a67b0cf283257a2c70fa15c2.zip
chromium_src-facc6ada0300c8e9a67b0cf283257a2c70fa15c2.tar.gz
chromium_src-facc6ada0300c8e9a67b0cf283257a2c70fa15c2.tar.bz2
Display a tab modal dialog of the allowed/blocked cookies.
BUG=45230 TEST=CollectedCookiesTest.* Review URL: http://codereview.chromium.org/2907003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52486 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/content_setting_bubble_model.cc')
-rw-r--r--chrome/browser/content_setting_bubble_model.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/chrome/browser/content_setting_bubble_model.cc b/chrome/browser/content_setting_bubble_model.cc
index 19587a5..6fc78e1 100644
--- a/chrome/browser/content_setting_bubble_model.cc
+++ b/chrome/browser/content_setting_bubble_model.cc
@@ -95,7 +95,14 @@ class ContentSettingTitleLinkAndInfoModel
virtual void OnInfoLinkClicked() {
DCHECK(content_type() == CONTENT_SETTINGS_TYPE_COOKIES);
- // FIXME(jochen): show cookie info dialog.
+ if (tab_contents()) {
+ NotificationService::current()->Notify(
+ NotificationType::COLLECTED_COOKIES_SHOWN,
+ Source<TabSpecificContentSettings>(
+ tab_contents()->GetTabSpecificContentSettings()),
+ NotificationService::NoDetails());
+ tab_contents()->delegate()->ShowCollectedCookiesDialog(tab_contents());
+ }
}
};