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

Issue 2880993002: Introduce AXObjectCacheBase in core/ and remove WebNode dependency (Closed)

Created:
3 years, 7 months ago by sashab
Modified:
3 years, 7 months ago
Reviewers:
haraken, slangley, dmazzoni
CC:
aboxhall+watch_chromium.org, aboxhall, blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, dmazzoni+watch_chromium.org, dougt+watch_chromium.org, dtseng+watch_chromium.org, eae+blinkwatch, je_julie, kinuko+watch, nektarios, nektar+watch_chromium.org, rwlbuis, sof, yuzo+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce AXObjectCacheBase in core/ and remove WebNode dependency Introduce AXObjectCacheBase in core/ and add a pure virtual Get() method, which removes the WebNode dependency on AXObjectCacheImpl since it can use AXObjectCacheBase instead. In follow-up patches, more methods will be added to AXObjectCacheBase to remove the dependency of web/ files on modules/accessibility/. Finally, AXObjectCacheBase will be refactored into AXObjectCache and removed. BUG=715382 Review-Url: https://codereview.chromium.org/2880993002 Cr-Commit-Position: refs/heads/master@{#473509} Committed: https://chromium.googlesource.com/chromium/src/+/c2bc18b08c8f89e49dccb2c9708c64ec318aadf7

Patch Set 1 #

Total comments: 5

Patch Set 2 : Review feedback #

Total comments: 1

Patch Set 3 : More review feedback #

Total comments: 2

Patch Set 4 : Rebase #

Patch Set 5 : Rebase on top of proper rename patch #

Patch Set 6 : Rebase after fixing ax rename #

Patch Set 7 : Added cpp file to fix linker error #

Patch Set 8 : Uploaded missing file #

Patch Set 9 : Small fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -6 lines) Patch
A third_party/WebKit/Source/core/dom/AXObjectCacheBase.h View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/dom/AXObjectCacheBase.cpp View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebNode.cpp View 1 2 3 4 5 6 3 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 77 (46 generated)
sashab
3 years, 7 months ago (2017-05-15 05:18:32 UTC) #3
sashab
3 years, 7 months ago (2017-05-15 05:19:17 UTC) #7
slangley
https://codereview.chromium.org/2880993002/diff/1/third_party/WebKit/Source/core/dom/AXObjectCacheBase.h File third_party/WebKit/Source/core/dom/AXObjectCacheBase.h (right): https://codereview.chromium.org/2880993002/diff/1/third_party/WebKit/Source/core/dom/AXObjectCacheBase.h#newcode27 third_party/WebKit/Source/core/dom/AXObjectCacheBase.h:27: ~AXObjectCacheBase() {} Probably should be virtual right? https://codereview.chromium.org/2880993002/diff/1/third_party/WebKit/Source/core/dom/AXObjectCacheBase.h#newcode30 third_party/WebKit/Source/core/dom/AXObjectCacheBase.h:30: ...
3 years, 7 months ago (2017-05-15 05:27:20 UTC) #10
sashab
https://codereview.chromium.org/2880993002/diff/1/third_party/WebKit/Source/core/dom/AXObjectCacheBase.h File third_party/WebKit/Source/core/dom/AXObjectCacheBase.h (right): https://codereview.chromium.org/2880993002/diff/1/third_party/WebKit/Source/core/dom/AXObjectCacheBase.h#newcode27 third_party/WebKit/Source/core/dom/AXObjectCacheBase.h:27: ~AXObjectCacheBase() {} On 2017/05/15 at 05:27:19, slangley wrote: > ...
3 years, 7 months ago (2017-05-15 05:50:22 UTC) #11
slangley
lgtm https://codereview.chromium.org/2880993002/diff/20001/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h File third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h (right): https://codereview.chromium.org/2880993002/diff/20001/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h#newcode54 third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h:54: ~AXObjectCacheImpl(); override
3 years, 7 months ago (2017-05-15 06:16:45 UTC) #16
sashab
Done; thanks. dmazzoni@ ptal :)
3 years, 7 months ago (2017-05-15 06:40:23 UTC) #17
dmazzoni
lgtm https://codereview.chromium.org/2880993002/diff/40001/third_party/WebKit/Source/core/dom/AXObjectCacheBase.h File third_party/WebKit/Source/core/dom/AXObjectCacheBase.h (right): https://codereview.chromium.org/2880993002/diff/40001/third_party/WebKit/Source/core/dom/AXObjectCacheBase.h#newcode28 third_party/WebKit/Source/core/dom/AXObjectCacheBase.h:28: virtual AXObjectImpl* Get(Node*) = 0; Just checking, but ...
3 years, 7 months ago (2017-05-15 20:45:10 UTC) #18
haraken1
Maybe I'm missing something but why can't we simply start moving methods from AXObjectCacheImpl to ...
3 years, 7 months ago (2017-05-15 20:52:04 UTC) #19
dmazzoni
On 2017/05/15 20:52:04, haraken1 wrote: > Maybe I'm missing something but why can't we simply ...
3 years, 7 months ago (2017-05-15 21:17:57 UTC) #20
dmazzoni
On 2017/05/15 20:52:04, haraken1 wrote: > Maybe I'm missing something but why can't we simply ...
3 years, 7 months ago (2017-05-15 21:17:59 UTC) #21
haraken
On 2017/05/15 21:17:59, dmazzoni wrote: > On 2017/05/15 20:52:04, haraken1 wrote: > > Maybe I'm ...
3 years, 7 months ago (2017-05-15 21:21:24 UTC) #22
sashab
On 2017/05/15 at 21:21:24, haraken wrote: > On 2017/05/15 21:17:59, dmazzoni wrote: > > On ...
3 years, 7 months ago (2017-05-15 23:37:07 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/2880993002/40001
3 years, 7 months ago (2017-05-15 23:38:08 UTC) #26
sashab
https://codereview.chromium.org/2880993002/diff/40001/third_party/WebKit/Source/core/dom/AXObjectCacheBase.h File third_party/WebKit/Source/core/dom/AXObjectCacheBase.h (right): https://codereview.chromium.org/2880993002/diff/40001/third_party/WebKit/Source/core/dom/AXObjectCacheBase.h#newcode28 third_party/WebKit/Source/core/dom/AXObjectCacheBase.h:28: virtual AXObjectImpl* Get(Node*) = 0; On 2017/05/15 at 20:45:10, ...
3 years, 7 months ago (2017-05-16 00:10:02 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/455125)
3 years, 7 months ago (2017-05-16 00:54:24 UTC) #30
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/2880993002/60001
3 years, 7 months ago (2017-05-16 03:45:01 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/455402)
3 years, 7 months ago (2017-05-16 04:32:46 UTC) #36
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/2880993002/60001
3 years, 7 months ago (2017-05-16 04:33:33 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/229334)
3 years, 7 months ago (2017-05-16 06:06:19 UTC) #40
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/2880993002/100001
3 years, 7 months ago (2017-05-18 09:31:02 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/430368)
3 years, 7 months ago (2017-05-18 10:31:22 UTC) #50
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/2880993002/100001
3 years, 7 months ago (2017-05-18 10:38:11 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/414467)
3 years, 7 months ago (2017-05-18 12:07:51 UTC) #54
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/2880993002/100001
3 years, 7 months ago (2017-05-18 12:17:37 UTC) #56
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/414479)
3 years, 7 months ago (2017-05-18 13:30:16 UTC) #58
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/2880993002/120001
3 years, 7 months ago (2017-05-22 03:27:01 UTC) #62
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/272851) linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 7 months ago (2017-05-22 03:30:52 UTC) #64
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/2880993002/140001
3 years, 7 months ago (2017-05-22 03:50:30 UTC) #68
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/372806)
3 years, 7 months ago (2017-05-22 04:00:53 UTC) #70
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/2880993002/160001
3 years, 7 months ago (2017-05-22 04:06:31 UTC) #74
commit-bot: I haz the power
3 years, 7 months ago (2017-05-22 05:52:12 UTC) #77
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/c2bc18b08c8f89e49dccb2c9708c...

Powered by Google App Engine
This is Rietveld 408576698