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

Issue 2858493002: Rename AXObject to AXObjectImpl in modules/ and web/ (Closed)

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

Description

Rename AXObject to AXObjectImpl in modules/ and web/ Rename AXObject to AXObjectImpl in modules/ and web/, and introduce an empty abstract parent class in core/. This is pre-work to remove usages of AXObjectImpl from web/, which will use AXObject instead. This patch does not rename the usages in core/ since these should use the new abstract object. BUG=715382 Review-Url: https://codereview.chromium.org/2858493002 Cr-Original-Commit-Position: refs/heads/master@{#471663} Committed: https://chromium.googlesource.com/chromium/src/+/234813ae8d52f622a1664e11365642751e8f26ba Review-Url: https://codereview.chromium.org/2858493002 Cr-Commit-Position: refs/heads/master@{#472370} Committed: https://chromium.googlesource.com/chromium/src/+/0cd996b5bea03c783b7d10062a669da39e2191da

Patch Set 1 #

Patch Set 2 : Added AXObject empty base class #

Patch Set 3 : Rename-free change #

Patch Set 4 : Put rename back #

Patch Set 5 : Reverted unexpected change to blink rename merge helper #

Total comments: 8

Patch Set 6 : Review feedback #

Total comments: 9

Patch Set 7 : Review feedback #

Patch Set 8 : Rebase #

Patch Set 9 : Rebase #

Patch Set 10 : Fixed rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+807 lines, -3747 lines) Patch
M docs/accessibility/overview.md View 1 2 3 4 5 9 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/core/dom/AXObject.h View 1 3 4 5 9 1 chunk +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/BUILD.gn View 1 4 5 9 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXARIAGrid.h View 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXARIAGrid.cpp View 3 4 chunks +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXARIAGridCell.h View 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXARIAGridCell.cpp View 3 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXARIAGridRow.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXImageMapLink.h View 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXImageMapLink.cpp View 3 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXInlineTextBox.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXInlineTextBox.cpp View 3 8 chunks +13 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXLayoutObject.h View 3 6 chunks +16 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp View 1 2 3 4 5 6 7 8 9 50 chunks +69 lines, -64 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXListBox.h View 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXListBox.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXListBoxOption.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXMediaControls.h View 3 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXMediaControls.cpp View 3 4 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXMenuList.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXMenuListOption.h View 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXMenuListOption.cpp View 3 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.h View 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp View 3 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXMockObject.h View 3 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXMockObject.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXNodeObject.h View 3 6 chunks +17 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp View 1 2 3 4 5 54 chunks +85 lines, -81 lines 0 comments Download
D third_party/WebKit/Source/modules/accessibility/AXObject.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1138 lines 0 comments Download
D third_party/WebKit/Source/modules/accessibility/AXObject.cpp View 1 2 3 4 5 6 7 1 chunk +0 lines, -1871 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h View 3 10 chunks +31 lines, -31 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp View 1 2 3 4 5 9 51 chunks +89 lines, -84 lines 0 comments Download
A + third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h View 1 2 3 4 5 6 7 8 9 25 chunks +62 lines, -53 lines 0 comments Download
A + third_party/WebKit/Source/modules/accessibility/AXObjectImpl.cpp View 1 2 3 4 5 6 7 73 chunks +163 lines, -150 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObjectTest.cpp View 3 2 chunks +11 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXRadioInput.cpp View 3 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXSVGRoot.h View 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXSVGRoot.cpp View 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXSlider.h View 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXSlider.cpp View 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXSpinButton.h View 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXSpinButton.cpp View 3 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXTable.h View 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXTable.cpp View 3 7 chunks +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXTableCell.h View 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp View 3 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXTableColumn.h View 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXTableColumn.cpp View 3 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXTableRow.h View 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXTableRow.cpp View 3 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/BUILD.gn View 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.h View 3 3 chunks +14 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.cpp View 3 24 chunks +43 lines, -42 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/InspectorTypeBuilderHelper.h View 3 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/InspectorTypeBuilderHelper.cpp View 1 2 3 4 chunks +9 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/testing/InternalsAccessibility.cpp View 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp View 3 5 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DUsageTrackingTest.cpp View 1 2 3 4 5 9 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/AssertMatchingEnums.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/TextFinder.cpp View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebAXObject.cpp View 1 2 3 4 5 6 23 chunks +30 lines, -29 lines 0 comments Download
M third_party/WebKit/Source/web/WebDocument.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebNode.cpp View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebPagePopupImpl.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/web/WebAXObject.h View 3 3 chunks +6 lines, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 90 (52 generated)
sashab
3 years, 7 months ago (2017-05-02 05:10:11 UTC) #2
slangley
On 2017/05/02 at 05:10:11, sashab wrote: > I doubt this is what you want. You ...
3 years, 7 months ago (2017-05-02 05:14:00 UTC) #5
sashab
Yup, was going to do that in follow-up patches. So in this patch, its as ...
3 years, 7 months ago (2017-05-02 05:16:04 UTC) #7
slangley
On 2017/05/02 at 05:16:04, sashab wrote: > Yup, was going to do that in follow-up ...
3 years, 7 months ago (2017-05-02 05:24:33 UTC) #8
sashab
Huh, I guess I didn't think of that approach. So... This would leave the AXObject.cpp ...
3 years, 7 months ago (2017-05-02 05:57:38 UTC) #9
slangley
I guess I'd assert that you don't want any of those renames, you just want ...
3 years, 7 months ago (2017-05-02 06:03:09 UTC) #10
slangley
I guess I'd assert that you don't want any of those renames, you just want ...
3 years, 7 months ago (2017-05-02 06:10:30 UTC) #11
dmazzoni
I agree that this is a bit awkward for an intermediate step. I think the ...
3 years, 7 months ago (2017-05-02 06:36:23 UTC) #12
slangley
I think the goal is that the code in core/ still refers to AXObject, > ...
3 years, 7 months ago (2017-05-02 07:03:01 UTC) #13
slangley
I think the goal is that the code in core/ still refers to AXObject, > ...
3 years, 7 months ago (2017-05-02 07:08:56 UTC) #16
sashab
Thanks for your feedback Dom; I added your suggestions, see the new empty AXObject.h class. ...
3 years, 7 months ago (2017-05-02 23:34:54 UTC) #17
sashab
Thanks for your input stu & dom; after some more investigation it looks like AXObject ...
3 years, 7 months ago (2017-05-03 00:47:52 UTC) #20
dmazzoni
lgtm
3 years, 7 months ago (2017-05-03 06:31:25 UTC) #28
sashab
dmazzoni - ptal again at changes, i changed a lot more than source files this ...
3 years, 7 months ago (2017-05-05 02:17:15 UTC) #35
slangley
lgtm
3 years, 7 months ago (2017-05-05 04:11:42 UTC) #38
aboxhall
On 2017/05/05 04:11:42, slangley wrote: > lgtm How about we roll in the addition of ...
3 years, 7 months ago (2017-05-05 04:58:53 UTC) #39
dmazzoni
lgtm except for some comment/docs/test changes that I think should be left alone https://codereview.chromium.org/2858493002/diff/80001/docs/accessibility/overview.md File ...
3 years, 7 months ago (2017-05-05 05:18:46 UTC) #40
aboxhall
haha I had all the same comments as Dominic in drafts https://codereview.chromium.org/2858493002/diff/80001/third_party/WebKit/LayoutTests/accessibility/corresponding-control-deleted-crash.html File third_party/WebKit/LayoutTests/accessibility/corresponding-control-deleted-crash.html (right): ...
3 years, 7 months ago (2017-05-05 05:22:17 UTC) #41
aboxhall
haha I had all the same comments as Dominic in drafts https://codereview.chromium.org/2858493002/diff/80001/third_party/WebKit/LayoutTests/accessibility/corresponding-control-deleted-crash.html File third_party/WebKit/LayoutTests/accessibility/corresponding-control-deleted-crash.html (right): ...
3 years, 7 months ago (2017-05-05 05:22:19 UTC) #42
Mike West
LGTM (but I only skimmed it, as the change seemed mechanical enough).
3 years, 7 months ago (2017-05-05 09:34:53 UTC) #43
haraken
LGTM
3 years, 7 months ago (2017-05-05 13:33:47 UTC) #44
sashab
aboxhall, ptal. If you lgtm this I will land it. I think I've covered all ...
3 years, 7 months ago (2017-05-08 23:58:34 UTC) #48
aboxhall
lgtm https://codereview.chromium.org/2858493002/diff/100001/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp File third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp (right): https://codereview.chromium.org/2858493002/diff/100001/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp#newcode2499 third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp:2499: ToAXObjectImpl(toHTMLInputElement(GetNode())->PopupRootAXObject())) On 2017/05/08 23:58:34, sashab wrote: > Although ...
3 years, 7 months ago (2017-05-09 02:01:02 UTC) #52
dmazzoni
lgtm https://codereview.chromium.org/2858493002/diff/100001/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp File third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp (right): https://codereview.chromium.org/2858493002/diff/100001/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp#newcode2499 third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp:2499: ToAXObjectImpl(toHTMLInputElement(GetNode())->PopupRootAXObject())) On 2017/05/09 02:01:02, aboxhall wrote: > On ...
3 years, 7 months ago (2017-05-09 05:07:07 UTC) #53
sashab
Thanks everyone! Yay, we reached a much a better solution after a thorough review process ...
3 years, 7 months ago (2017-05-10 04:24:43 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/2858493002/120001
3 years, 7 months ago (2017-05-10 04:25:35 UTC) #57
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/449645)
3 years, 7 months ago (2017-05-10 07:57:29 UTC) #59
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/2858493002/120001
3 years, 7 months ago (2017-05-11 01:29:27 UTC) #61
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/2858493002/140001
3 years, 7 months ago (2017-05-11 02:50:15 UTC) #66
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/451335)
3 years, 7 months ago (2017-05-11 05:55:06 UTC) #68
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/2858493002/140001
3 years, 7 months ago (2017-05-12 00:06:24 UTC) #70
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/modules/accessibility/AXInlineTextBox.h: While running git apply --index -3 -p1; error: patch ...
3 years, 7 months ago (2017-05-12 01:18:06 UTC) #72
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/2858493002/160001
3 years, 7 months ago (2017-05-15 02:25:07 UTC) #75
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/chromium/src/+/234813ae8d52f622a1664e11365642751e8f26ba
3 years, 7 months ago (2017-05-15 04:17:20 UTC) #78
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/2858493002/180001
3 years, 7 months ago (2017-05-17 04:19:26 UTC) #83
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/456917)
3 years, 7 months ago (2017-05-17 06:16:44 UTC) #85
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/2858493002/180001
3 years, 7 months ago (2017-05-17 06:36:39 UTC) #87
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 07:33:49 UTC) #90
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/0cd996b5bea03c783b7d10062a66...

Powered by Google App Engine
This is Rietveld 408576698