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

Issue 2822773002: [subresource_filter] Force the popup blocker on sites with activation (Closed)

Created:
3 years, 8 months ago by Charlie Harrison
Modified:
3 years, 8 months ago
Reviewers:
engedy, jkarlin
CC:
chromium-reviews, darin-cc_chromium.org, jam, subresource-filter-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[subresource_filter] Force the popup blocker on sites with activation This CL essentially strips the user_gesture bit from the popup blocker heuristic on sites with subresource_filter activation. BUG=689992 Review-Url: https://codereview.chromium.org/2822773002 Cr-Commit-Position: refs/heads/master@{#466991} Committed: https://chromium.googlesource.com/chromium/src/+/cebcfd84a5f1d8a7f42f177cc27f9248446cbbcd

Patch Set 1 #

Patch Set 2 : Integrate with popup blocker #

Total comments: 6

Patch Set 3 : engedy review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -3 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/subresource_filter/subresource_filter_browsertest.cc View 1 2 2 chunks +39 lines, -0 lines 0 comments Download
A chrome/test/data/subresource_filter/window_open.html View 1 chunk +6 lines, -0 lines 0 comments Download
M components/subresource_filter/content/browser/content_subresource_filter_throttle_manager.h View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M components/subresource_filter/content/browser/content_subresource_filter_throttle_manager.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 29 (21 generated)
Charlie Harrison
engedy: PTAL? Still needs the dependent patch to land but the logic ends up being ...
3 years, 8 months ago (2017-04-22 18:37:57 UTC) #12
engedy
Huge kudos for doing the refactoring so cleanly in a separate CL. LGTM % minor ...
3 years, 8 months ago (2017-04-24 10:03:28 UTC) #13
Charlie Harrison
Thanks Balazs! https://codereview.chromium.org/2822773002/diff/20001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/2822773002/diff/20001/chrome/browser/chrome_content_browser_client.cc#newcode2555 chrome/browser/chrome_content_browser_client.cc:2555: bool popup_block_candidate = On 2017/04/24 10:03:27, engedy ...
3 years, 8 months ago (2017-04-24 15:41:55 UTC) #15
Charlie Harrison
+jkarlin would you PTAL as well?
3 years, 8 months ago (2017-04-24 15:42:28 UTC) #18
jkarlin
lgtm!
3 years, 8 months ago (2017-04-24 18:49:38 UTC) #22
Charlie Harrison
Thanks! I will likely wait ~24h after the dependent CL lands before sending this one ...
3 years, 8 months ago (2017-04-24 18:51:30 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2822773002/40001
3 years, 8 months ago (2017-04-25 14:51:56 UTC) #26
commit-bot: I haz the power
3 years, 8 months ago (2017-04-25 14:56:50 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/cebcfd84a5f1d8a7f42f177cc27f...

Powered by Google App Engine
This is Rietveld 408576698