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

Issue 2544993002: Avoid enabling accessibility for WebContents that are never shown (Closed)

Created:
4 years ago by dmazzoni
Modified:
4 years ago
Reviewers:
aboxhall, nasko
CC:
chromium-reviews, aboxhall+watch_chromium.org, nektar+watch_chromium.org, jam, yuzo+watch_chromium.org, je_julie, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid enabling accessibility for WebContents that are never shown If WebContentsImpl::IsNeverShown() is true, like for an extension background page, then there's never a reason to enable accessibility. Update WebContentsImpl::SetAccessibilityMode to check for this, and also update the UI page for chrome://accessibility to avoid exposing such views. BUG=365370 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/f8a3104f8848afd8a60e10f9f51c6b108bcbf62d Cr-Commit-Position: refs/heads/master@{#436110}

Patch Set 1 #

Patch Set 2 : Much better fix, now avoid enabling accessibility at all #

Total comments: 2

Patch Set 3 : Get rid of 'extension' from content code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -12 lines) Patch
M content/browser/accessibility/accessibility_ui.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 25 (17 generated)
dmazzoni
4 years ago (2016-12-02 06:05:14 UTC) #2
dmazzoni
4 years ago (2016-12-02 16:23:50 UTC) #12
aboxhall
lgtm
4 years ago (2016-12-02 17:13:04 UTC) #13
nasko
LGTM with a nit. https://codereview.chromium.org/2544993002/diff/20001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/2544993002/diff/20001/content/browser/web_contents/web_contents_impl.cc#newcode950 content/browser/web_contents/web_contents_impl.cc:950: // visible, like extension background ...
4 years ago (2016-12-02 21:52:14 UTC) #16
dmazzoni
https://codereview.chromium.org/2544993002/diff/20001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/2544993002/diff/20001/content/browser/web_contents/web_contents_impl.cc#newcode950 content/browser/web_contents/web_contents_impl.cc:950: // visible, like extension background pages. On 2016/12/02 21:52:14, ...
4 years ago (2016-12-02 22:19:24 UTC) #17
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/2544993002/40001
4 years ago (2016-12-02 22:24:24 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-03 00:52:51 UTC) #23
commit-bot: I haz the power
4 years ago (2016-12-03 00:54:04 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f8a3104f8848afd8a60e10f9f51c6b108bcbf62d
Cr-Commit-Position: refs/heads/master@{#436110}

Powered by Google App Engine
This is Rietveld 408576698