diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 06:30:10 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 06:30:10 +0000 |
commit | 8a7011c64402ddef52eb312ff0ffa58898f56c8e (patch) | |
tree | 7896aeb709624cb4838d5a0d3ff25fafebc3a548 /chrome/browser/cookies_tree_model.h | |
parent | e109361f0263a4483e01da73a6299adae689842c (diff) | |
download | chromium_src-8a7011c64402ddef52eb312ff0ffa58898f56c8e.zip chromium_src-8a7011c64402ddef52eb312ff0ffa58898f56c8e.tar.gz chromium_src-8a7011c64402ddef52eb312ff0ffa58898f56c8e.tar.bz2 |
[Gtk] Display the current content setting applying to a domain along with the domain.
This patch only affectes the gtk ui. Here is what it looks like: http://imgur.com/g6Gox
If third party cookies are blocked, a warning is shown. Next to each domain, the content setting is displayed that applies (or nothing if the default applies). When the user selects some domains and presses an button, the labels are updated accordingly.
BUG=49826
TEST=unit_tests
Review URL: http://codereview.chromium.org/3096001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56315 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cookies_tree_model.h')
-rw-r--r-- | chrome/browser/cookies_tree_model.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/cookies_tree_model.h b/chrome/browser/cookies_tree_model.h index faae9b5..3c6795d 100644 --- a/chrome/browser/cookies_tree_model.h +++ b/chrome/browser/cookies_tree_model.h @@ -168,6 +168,11 @@ class CookieTreeOriginNode : public CookieTreeNode { // True if a content exception can be created for this origin. bool CanCreateContentException() const; + // Returns a textual representation of the current content exception + // applying to this domain. + std::string GetCurrentContentSettingTitle( + HostContentSettingsMap* content_settings) const; + private: // Pointers to the cookies, databases, local and session storage and appcache // nodes. When we build up the tree we need to quickly get a reference to |