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

Issue 495763005: Switch to using accessibilityEnabled and inlineTextBoxAccessibilityEnabled from settings (Closed)

Created:
6 years, 4 months ago by aboxhall
Modified:
6 years, 3 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-rendering, dglazkov+blink, dmazzoni, eae+blinkwatch, groby+blinkspell_chromium.org, jamesr, jchaffraix+rendering, leviw+renderwatch, pdr., rwlbuis, rune+blink, sof, zoltan1
Project:
blink
Visibility:
Public.

Description

Switch to using accessibilityEnabled and inlineTextBoxAccessibilityEnabled from settings Depends on https://codereview.chromium.org/497263002/ BUG=406622 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181120

Patch Set 1 #

Patch Set 2 : fix weird spaces #

Patch Set 3 : Fixed some egregious issues #

Patch Set 4 : logspam #

Total comments: 1

Patch Set 5 : Rebase #

Patch Set 6 : Make WebAXObject methods noops #

Total comments: 15

Patch Set 7 : Address comments #

Patch Set 8 : Rebase #

Patch Set 9 : rebase #

Patch Set 10 : Remove redundant calls to settings() #

Patch Set 11 : Remove cache->recomputeIsIgnored() calls from RenderBlockFlow; add TestExpectation for one failing … #

Total comments: 6

Patch Set 12 : Add comment to TestExpectations #

Patch Set 13 : rebase #

Patch Set 14 : review comments #

Patch Set 15 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -41 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/accessibility/AXNodeObject.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M Source/core/accessibility/AXObjectCache.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +5 lines, -6 lines 0 comments Download
M Source/core/accessibility/AXObjectCache.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +25 lines, -6 lines 0 comments Download
M Source/core/accessibility/AXRenderObject.cpp View 1 2 3 4 5 6 7 8 9 4 chunks +9 lines, -2 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -5 lines 0 comments Download
M Source/core/dom/Node.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/editing/Editor.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBlockFlow.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +2 lines, -8 lines 0 comments Download
M Source/core/rendering/RenderMenuList.cpp View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M Source/web/WebAXObject.cpp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (1 generated)
dmazzoni
https://codereview.chromium.org/495763005/diff/60001/Source/core/accessibility/AXNodeObject.cpp File Source/core/accessibility/AXNodeObject.cpp (right): https://codereview.chromium.org/495763005/diff/60001/Source/core/accessibility/AXNodeObject.cpp#newcode1400 Source/core/accessibility/AXNodeObject.cpp:1400: if (document()->settings() && document()->settings()->inlineTextBoxAccessibilityEnabled()) This test got reversed
6 years, 4 months ago (2014-08-22 18:16:10 UTC) #1
aboxhall
6 years, 4 months ago (2014-08-22 23:02:59 UTC) #2
dmazzoni
https://codereview.chromium.org/495763005/diff/100001/Source/core/accessibility/AXNodeObject.cpp File Source/core/accessibility/AXNodeObject.cpp (right): https://codereview.chromium.org/495763005/diff/100001/Source/core/accessibility/AXNodeObject.cpp#newcode1400 Source/core/accessibility/AXNodeObject.cpp:1400: if (!document()->settings() || !document()->settings()->inlineTextBoxAccessibilityEnabled()) I think it might be ...
6 years, 4 months ago (2014-08-23 05:36:01 UTC) #3
abarth-chromium
https://codereview.chromium.org/495763005/diff/100001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/495763005/diff/100001/Source/core/dom/Document.cpp#newcode2275 Source/core/dom/Document.cpp:2275: if (!settings() || !settings()->accessibilityEnabled()) Please don't call settings() twice. ...
6 years, 4 months ago (2014-08-23 05:59:11 UTC) #4
aboxhall
https://codereview.chromium.org/495763005/diff/100001/Source/core/accessibility/AXNodeObject.cpp File Source/core/accessibility/AXNodeObject.cpp (right): https://codereview.chromium.org/495763005/diff/100001/Source/core/accessibility/AXNodeObject.cpp#newcode1400 Source/core/accessibility/AXNodeObject.cpp:1400: if (!document()->settings() || !document()->settings()->inlineTextBoxAccessibilityEnabled()) On 2014/08/23 05:36:01, dmazzoni wrote: ...
6 years, 3 months ago (2014-08-27 15:26:33 UTC) #5
dmazzoni
https://codereview.chromium.org/495763005/diff/100001/Source/core/rendering/RenderBlockFlow.cpp File Source/core/rendering/RenderBlockFlow.cpp (right): https://codereview.chromium.org/495763005/diff/100001/Source/core/rendering/RenderBlockFlow.cpp#newcode1789 Source/core/rendering/RenderBlockFlow.cpp:1789: if (UNLIKELY(settings && settings->accessibilityEnabled()) && m_lineBoxes.firstLineBox() == rootBox) { ...
6 years, 3 months ago (2014-08-27 16:17:15 UTC) #6
aboxhall
On 2014/08/27 16:17:15, dmazzoni wrote: > https://codereview.chromium.org/495763005/diff/100001/Source/core/rendering/RenderBlockFlow.cpp > File Source/core/rendering/RenderBlockFlow.cpp (right): > > https://codereview.chromium.org/495763005/diff/100001/Source/core/rendering/RenderBlockFlow.cpp#newcode1789 > ...
6 years, 3 months ago (2014-08-29 03:36:45 UTC) #7
abarth-chromium
On 2014/08/29 at 03:36:45, aboxhall wrote: > Should this be addressed in this change? Or ...
6 years, 3 months ago (2014-08-29 16:16:52 UTC) #8
abarth-chromium
LGTM https://codereview.chromium.org/495763005/diff/200001/Source/core/accessibility/AXObjectCache.cpp File Source/core/accessibility/AXObjectCache.cpp (right): https://codereview.chromium.org/495763005/diff/200001/Source/core/accessibility/AXObjectCache.cpp#newcode919 Source/core/accessibility/AXObjectCache.cpp:919: return m_settings; Why store a pointer to m_settings? ...
6 years, 3 months ago (2014-08-29 18:32:07 UTC) #9
aboxhall
https://codereview.chromium.org/495763005/diff/200001/Source/core/accessibility/AXObjectCache.h File Source/core/accessibility/AXObjectCache.h (right): https://codereview.chromium.org/495763005/diff/200001/Source/core/accessibility/AXObjectCache.h#newcode234 Source/core/accessibility/AXObjectCache.h:234: Settings* getSettings(); On 2014/08/29 18:32:07, abarth wrote: > s/getSettings/settings/ ...
6 years, 3 months ago (2014-08-29 18:38:39 UTC) #10
aboxhall
6 years, 3 months ago (2014-08-29 18:38:40 UTC) #11
aboxhall
https://codereview.chromium.org/495763005/diff/200001/Source/core/accessibility/AXObjectCache.cpp File Source/core/accessibility/AXObjectCache.cpp (right): https://codereview.chromium.org/495763005/diff/200001/Source/core/accessibility/AXObjectCache.cpp#newcode919 Source/core/accessibility/AXObjectCache.cpp:919: return m_settings; On 2014/08/29 18:32:07, abarth wrote: > Why ...
6 years, 3 months ago (2014-08-29 20:35:16 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-08-29 23:04:27 UTC) #14
Message was sent while issue was closed.
Committed patchset #15 (id:280001) as 181120

Powered by Google App Engine
This is Rietveld 408576698