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

Issue 1348503003: One AXObjectCache per frame (Closed)

Created:
5 years, 3 months ago by dmazzoni
Modified:
4 years, 9 months ago
Reviewers:
dcheng, aboxhall
CC:
aboxhall, blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, dmazzoni, eae+blinkwatch, je_julie, nektarios, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

One AXObjectCache per frame Gets rid of AXScrollView, AXScrollbar, and all of the code that allows AXObjectCache to span multiple frames. Now there's one AXObjectCache per document, except for page popups which are part of the same tree. Also makes a small change to send focus events even when focus is cleared, which is needed for Chromium to keep track of focus across frames. BUG=532249, 484878

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Updated or deleted layout tests #

Total comments: 4

Patch Set 4 : Send focus notifications when focus is cleared #

Total comments: 7

Patch Set 5 : Rebase #

Patch Set 6 : Fix issues in AutomationApiTest.Events #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -1422 lines) Patch
M chrome/test/data/extensions/api_test/automation/tests/tabs/events.js View 1 2 3 4 5 3 chunks +19 lines, -15 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_tree_browsertest.cc View 1 2 3 4 3 chunks +9 lines, -4 lines 0 comments Download
M content/renderer/accessibility/renderer_accessibility_browsertest.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/accessibility/deleting-iframe-destroys-axcache.html View 1 2 3 4 1 chunk +0 lines, -77 lines 0 comments Download
D third_party/WebKit/LayoutTests/accessibility/deleting-iframe-destroys-axcache-expected.txt View 1 2 3 4 1 chunk +0 lines, -51 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/element-role-mapping-normal.html View 1 2 3 4 2 chunks +3 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/element-role-mapping-normal-expected.txt View 1 2 3 4 2 chunks +0 lines, -8 lines 0 comments Download
D third_party/WebKit/LayoutTests/accessibility/event-on-deleted-iframe-causes-crash.html View 1 2 3 4 1 chunk +0 lines, -35 lines 0 comments Download
D third_party/WebKit/LayoutTests/accessibility/event-on-deleted-iframe-causes-crash-expected.txt View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/is-richly-editable-expected.txt View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
D third_party/WebKit/LayoutTests/accessibility/loading-iframe-sends-notification.html View 1 2 3 4 1 chunk +0 lines, -65 lines 0 comments Download
D third_party/WebKit/LayoutTests/accessibility/loading-iframe-sends-notification-expected.txt View 1 2 3 4 1 chunk +0 lines, -18 lines 0 comments Download
D third_party/WebKit/LayoutTests/accessibility/loading-iframe-updates-axtree.html View 1 2 3 4 1 chunk +0 lines, -64 lines 0 comments Download
D third_party/WebKit/LayoutTests/accessibility/loading-iframe-updates-axtree-expected.txt View 1 2 3 4 1 chunk +0 lines, -22 lines 0 comments Download
D third_party/WebKit/LayoutTests/accessibility/scroll-to-global-point-iframe.html View 1 2 3 4 1 chunk +0 lines, -63 lines 0 comments Download
D third_party/WebKit/LayoutTests/accessibility/scroll-to-global-point-iframe-expected.txt View 1 2 3 4 1 chunk +0 lines, -17 lines 0 comments Download
D third_party/WebKit/LayoutTests/accessibility/scroll-to-global-point-iframe-nested.html View 1 2 3 4 1 chunk +0 lines, -82 lines 0 comments Download
D third_party/WebKit/LayoutTests/accessibility/scroll-to-global-point-iframe-nested-expected.txt View 1 2 3 4 1 chunk +0 lines, -18 lines 0 comments Download
D third_party/WebKit/LayoutTests/accessibility/scroll-to-make-visible-iframe.html View 1 2 3 4 1 chunk +0 lines, -66 lines 0 comments Download
D third_party/WebKit/LayoutTests/accessibility/scroll-to-make-visible-iframe-expected.txt View 1 2 3 4 1 chunk +0 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/dom/AXObjectCache.h View 1 2 3 4 3 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 3 4 5 2 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 chunks +1 line, -13 lines 0 comments Download
M third_party/WebKit/Source/core/page/Page.cpp View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXLayoutObject.h View 1 2 3 4 3 chunks +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp View 1 2 3 4 5 8 chunks +10 lines, -40 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObject.h View 1 2 3 4 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObject.cpp View 1 2 3 4 2 chunks +0 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h View 1 2 3 4 6 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp View 1 2 3 4 12 chunks +30 lines, -133 lines 0 comments Download
D third_party/WebKit/Source/modules/accessibility/AXScrollView.h View 1 2 3 4 1 chunk +0 lines, -89 lines 0 comments Download
D third_party/WebKit/Source/modules/accessibility/AXScrollView.cpp View 1 2 3 4 1 chunk +0 lines, -264 lines 0 comments Download
D third_party/WebKit/Source/modules/accessibility/AXScrollbar.h View 1 2 3 4 1 chunk +0 lines, -74 lines 0 comments Download
D third_party/WebKit/Source/modules/accessibility/AXScrollbar.cpp View 1 2 3 4 1 chunk +0 lines, -125 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebViewClient.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 9 (1 generated)
dmazzoni
Ready for an initial look. Look how much code we can delete! Alice, could you ...
5 years, 3 months ago (2015-09-16 23:49:37 UTC) #2
dcheng
https://codereview.chromium.org/1348503003/diff/40001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1348503003/diff/40001/Source/core/dom/Document.cpp#newcode2240 Source/core/dom/Document.cpp:2240: return *const_cast<Document*>(this); If this method can return a mutable ...
5 years, 3 months ago (2015-09-17 21:54:09 UTC) #3
dmazzoni
https://codereview.chromium.org/1348503003/diff/40001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1348503003/diff/40001/Source/core/dom/Document.cpp#newcode2240 Source/core/dom/Document.cpp:2240: return *const_cast<Document*>(this); On 2015/09/17 21:54:08, dcheng wrote: > If ...
5 years, 3 months ago (2015-09-17 22:11:57 UTC) #4
aboxhall
Nothing major, but a couple of things I'm still trying to understand. https://codereview.chromium.org/1348503003/diff/60001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp ...
5 years, 3 months ago (2015-09-22 21:48:27 UTC) #5
dmazzoni
https://codereview.chromium.org/1348503003/diff/60001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1348503003/diff/60001/Source/core/dom/Document.cpp#newcode3530 Source/core/dom/Document.cpp:3530: if (!focusChangeBlocked) { On 2015/09/22 21:48:27, aboxhall wrote: > ...
5 years, 3 months ago (2015-09-22 22:08:45 UTC) #6
aboxhall
LGTM Thanks for the explanations!
5 years, 3 months ago (2015-09-23 16:38:45 UTC) #7
dmazzoni
As discussed offline with dcheng@, I'll modify this to get the focused frame from the ...
5 years, 2 months ago (2015-09-30 22:53:18 UTC) #8
dmazzoni
4 years, 9 months ago (2016-03-03 08:43:01 UTC) #9

Powered by Google App Engine
This is Rietveld 408576698