Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(624)

Issue 13375004: Fixed the problem that cookie blocking notification bubble is not displayed in the omnibox. (Closed)

Created:
7 years, 8 months ago by no longer working on chromium
Modified:
7 years, 8 months ago
CC:
chromium-reviews, markusheintz_
Visibility:
Public.

Description

Fixed the problem that cookie blocking notification bubble is not displayed in the omnibox. We can have multiple cookies of different blocked statuses, that means OnContentAllowed() can still be called while the cookies content setting is set to block. And we need to show the blocking cookie icon if any of the cookie is blocked. Also, except for media, other content setting types need reloading the page to have the new setting kick in. BUG=224557 TEST=unit_tests --gtest_filter="*TabSpecificContentSettingsTest*" manual test: 1.Launch chrome and go to settings > content settings 2.Under cookies select the option "Block third party cookies and site data" 3.Login to facebook.com and Go to www.latimes.com. 4.Observe the cookie blocking notification bubble in the omnibox. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191844

Patch Set 1 : #

Total comments: 2

Patch Set 2 : addressed the comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M chrome/browser/content_settings/tab_specific_content_settings.cc View 1 2 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
no longer working on chromium
Jochen, could you please review this CL? Thanks, SX
7 years, 8 months ago (2013-04-02 12:01:26 UTC) #1
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/13375004/diff/2001/chrome/browser/content_settings/tab_specific_content_settings.cc File chrome/browser/content_settings/tab_specific_content_settings.cc (right): https://codereview.chromium.org/13375004/diff/2001/chrome/browser/content_settings/tab_specific_content_settings.cc#newcode318 chrome/browser/content_settings/tab_specific_content_settings.cc:318: } nit, you can just close the if ...
7 years, 8 months ago (2013-04-02 13:08:53 UTC) #2
no longer working on chromium
https://codereview.chromium.org/13375004/diff/2001/chrome/browser/content_settings/tab_specific_content_settings.cc File chrome/browser/content_settings/tab_specific_content_settings.cc (right): https://codereview.chromium.org/13375004/diff/2001/chrome/browser/content_settings/tab_specific_content_settings.cc#newcode318 chrome/browser/content_settings/tab_specific_content_settings.cc:318: } On 2013/04/02 13:08:53, jochen wrote: > nit, you ...
7 years, 8 months ago (2013-04-02 14:12:06 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/13375004/6001
7 years, 8 months ago (2013-04-02 14:12:13 UTC) #4
commit-bot: I haz the power
7 years, 8 months ago (2013-04-02 17:12:13 UTC) #5
Message was sent while issue was closed.
Change committed as 191844

Powered by Google App Engine
This is Rietveld 408576698