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

Issue 246433012: Extend AXTreeSourceViews to handle aura::Window and views::Widget. (Closed)

Created:
6 years, 8 months ago by David Tseng
Modified:
6 years, 7 months ago
Reviewers:
dmazzoni, sky, aboxhall
CC:
chromium-reviews, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, tfarina, yuzo+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, aboxhall
Visibility:
Public.

Description

Extend AXTreeSourceViews to handle aura::Window and views::Widget. initial patch BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267297

Patch Set 1 : #

Patch Set 2 : Cleanup #

Patch Set 3 : #

Total comments: 15

Patch Set 4 : Address comments; implement observers; add root wrapper. #

Patch Set 5 : Everything hooked up end to end #

Patch Set 6 : Fixing compile by removing protected ctr for AXAuraObjWrapper #

Patch Set 7 : Moving stuff around #

Patch Set 8 : Cleaning up #

Patch Set 9 : Hook up ash root #

Patch Set 10 : With tests. #

Total comments: 11

Patch Set 11 : Add missing file. #

Patch Set 12 : More cleanup. #

Patch Set 13 : Indent; extend test. #

Patch Set 14 : #

Patch Set 15 : Reset serializer on enable. #

Total comments: 33

Patch Set 16 : Address comments. #

Patch Set 17 : Add OWNERS file for c/b/u/v/accessibility #

Total comments: 6

Patch Set 18 : Address more comments. #

Patch Set 19 : USE_ASH #

Patch Set 20 : Use_ash and remove old test from views.gyp. #

Patch Set 21 : Move files from c/b/u/views/accessibility to c/b/u/ash/accessibility #

Unified diffs Side-by-side diffs Delta from patch set Stats (+968 lines, -451 lines) Patch
A + chrome/browser/ui/ash/accessibility/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/browser/ui/ash/accessibility/automation_manager_views.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +17 lines, -6 lines 0 comments Download
A + chrome/browser/ui/ash/accessibility/automation_manager_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +24 lines, -15 lines 0 comments Download
A chrome/browser/ui/ash/accessibility/ax_root_obj_wrapper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/accessibility/ax_root_obj_wrapper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +48 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/accessibility/ax_tree_source_views.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/accessibility/ax_tree_source_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +85 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/accessibility/ax_tree_source_views_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +137 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/accessibility/automation_manager_views.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +0 lines, -49 lines 0 comments Download
M chrome/browser/ui/views/accessibility/automation_manager_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +0 lines, -76 lines 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +3 lines, -1 line 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/automation_custom_bindings.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M ui/accessibility/ax_enums.idl View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M ui/accessibility/ax_view_state.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -2 lines 0 comments Download
A ui/views/accessibility/ax_aura_obj_cache.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +83 lines, -0 lines 0 comments Download
A ui/views/accessibility/ax_aura_obj_cache.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +126 lines, -0 lines 0 comments Download
A ui/views/accessibility/ax_aura_obj_wrapper.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +36 lines, -0 lines 0 comments Download
M ui/views/accessibility/ax_tree_source_views.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -56 lines 0 comments Download
M ui/views/accessibility/ax_tree_source_views.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -156 lines 0 comments Download
D ui/views/accessibility/ax_tree_source_views_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -85 lines 0 comments Download
A ui/views/accessibility/ax_view_obj_wrapper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +34 lines, -0 lines 0 comments Download
A ui/views/accessibility/ax_view_obj_wrapper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +65 lines, -0 lines 0 comments Download
A ui/views/accessibility/ax_widget_obj_wrapper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +44 lines, -0 lines 0 comments Download
A ui/views/accessibility/ax_widget_obj_wrapper.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +55 lines, -0 lines 0 comments Download
A ui/views/accessibility/ax_window_obj_wrapper.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +42 lines, -0 lines 0 comments Download
A ui/views/accessibility/ax_window_obj_wrapper.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +64 lines, -0 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 45 (0 generated)
David Tseng
Still w.i.p. but ready for some feedback. I still need to fill in removals, but ...
6 years, 8 months ago (2014-04-22 23:22:17 UTC) #1
dmazzoni
Great start! This should be relatively easy to test. Consider writing an ash test - ...
6 years, 8 months ago (2014-04-23 05:06:44 UTC) #2
David Tseng
Still w.i.p. PTAL for discussion. I added observers to remove our cached wrappers on destruction, ...
6 years, 8 months ago (2014-04-23 18:20:00 UTC) #3
David Tseng
https://codereview.chromium.org/246433012/diff/80001/ui/views/accessibility/ax_view_obj_wrapper.cc File ui/views/accessibility/ax_view_obj_wrapper.cc (right): https://codereview.chromium.org/246433012/diff/80001/ui/views/accessibility/ax_view_obj_wrapper.cc#newcode26 ui/views/accessibility/ax_view_obj_wrapper.cc:26: // TODO(dtseng): Need to handle |Widget| child of |View|. ...
6 years, 8 months ago (2014-04-23 21:32:55 UTC) #4
dmazzoni
> > I think Aura in the name does make sense now that of the ...
6 years, 8 months ago (2014-04-24 19:40:30 UTC) #5
David Tseng
PTAL. This is ready for a real review. I still have to make a pass ...
6 years, 8 months ago (2014-04-24 23:48:33 UTC) #6
dmazzoni
On Thu, Apr 24, 2014 at 4:48 PM, David Tseng <dtseng@chromium.org> wrote: > PTAL. This ...
6 years, 8 months ago (2014-04-25 05:55:23 UTC) #7
dmazzoni
Some indentation issues, as you mentioned. Overall looks totally solid - if you can address ...
6 years, 8 months ago (2014-04-25 06:13:58 UTC) #8
David Tseng
+ aboxhall; please do a style check (and of course, feel free to comment on ...
6 years, 8 months ago (2014-04-25 22:47:29 UTC) #9
dmazzoni
On Fri, Apr 25, 2014 at 3:47 PM, <dtseng@chromium.org> wrote: > https://codereview.chromium.org/246433012/diff/210001/ > chrome/browser/ui/views/accessibility/ax_tree_source_views.cc#newcode58 > ...
6 years, 7 months ago (2014-04-28 16:47:55 UTC) #10
David Tseng
On Mon, Apr 28, 2014 at 9:47 AM, Dominic Mazzoni <dmazzoni@chromium.org>wrote: > On Fri, Apr ...
6 years, 7 months ago (2014-04-28 17:11:41 UTC) #11
aboxhall
Quick question before I do a proper review (and sorry for my slowness on that): ...
6 years, 7 months ago (2014-04-28 17:34:23 UTC) #12
David Tseng
On Mon, Apr 28, 2014 at 10:34 AM, <aboxhall@chromium.org> wrote: > Quick question before I ...
6 years, 7 months ago (2014-04-28 17:54:10 UTC) #13
chromium-reviews
Oh, no problem re not doing it in this CL; I was wondering whether you ...
6 years, 7 months ago (2014-04-28 17:59:54 UTC) #14
David Tseng
Nothing to show at the moment; I did update the spec with the latest changes ...
6 years, 7 months ago (2014-04-28 18:37:34 UTC) #15
aboxhall
lgtm Generally looking great, just a bunch of nits and things I don't understand. https://codereview.chromium.org/246433012/diff/310001/chrome/browser/ui/views/accessibility/automation_manager_views.cc ...
6 years, 7 months ago (2014-04-28 19:50:38 UTC) #16
David Tseng
+ sky for OWNERS approval. https://codereview.chromium.org/246433012/diff/310001/chrome/browser/ui/views/accessibility/automation_manager_views.cc File chrome/browser/ui/views/accessibility/automation_manager_views.cc (right): https://codereview.chromium.org/246433012/diff/310001/chrome/browser/ui/views/accessibility/automation_manager_views.cc#newcode27 chrome/browser/ui/views/accessibility/automation_manager_views.cc:27: if (current_tree_serializer_.get()) On 2014/04/28 ...
6 years, 7 months ago (2014-04-29 01:35:03 UTC) #17
aboxhall
Still lgtm. https://codereview.chromium.org/246433012/diff/310001/chrome/browser/ui/views/accessibility/ax_root_obj_wrapper.cc File chrome/browser/ui/views/accessibility/ax_root_obj_wrapper.cc (right): https://codereview.chromium.org/246433012/diff/310001/chrome/browser/ui/views/accessibility/ax_root_obj_wrapper.cc#newcode19 chrome/browser/ui/views/accessibility/ax_root_obj_wrapper.cc:19: std::vector<views::AXAuraObjWrapper*> out_children; On 2014/04/29 01:35:03, David Tseng ...
6 years, 7 months ago (2014-04-29 02:19:22 UTC) #18
sky
How about updating c/b/u/views/OWNERS with at least dmazzoni so that I don't have to review ...
6 years, 7 months ago (2014-04-29 04:20:37 UTC) #19
David Tseng
PTAL @dmazzoni On 2014/04/29 04:20:37, sky wrote: > How about updating c/b/u/views/OWNERS with at least ...
6 years, 7 months ago (2014-04-29 16:44:29 UTC) #20
dmazzoni
Here's a separate change to add myself to the parent owners file with a comment. ...
6 years, 7 months ago (2014-04-29 17:11:25 UTC) #21
dmazzoni
I'm taking a final look now.
6 years, 7 months ago (2014-04-29 17:12:03 UTC) #22
dmazzoni
lgtm https://codereview.chromium.org/246433012/diff/350001/chrome/browser/ui/views/accessibility/automation_manager_views.cc File chrome/browser/ui/views/accessibility/automation_manager_views.cc (right): https://codereview.chromium.org/246433012/diff/350001/chrome/browser/ui/views/accessibility/automation_manager_views.cc#newcode32 chrome/browser/ui/views/accessibility/automation_manager_views.cc:32: enabled_ = false; Do you also want to ...
6 years, 7 months ago (2014-04-29 17:20:59 UTC) #23
David Tseng
On Tue, Apr 29, 2014 at 10:20 AM, <dmazzoni@chromium.org> wrote: > lgtm > > > ...
6 years, 7 months ago (2014-04-29 17:37:25 UTC) #24
chromium-reviews
On Tue, Apr 29, 2014 at 10:37 AM, David Tseng <dtseng@chromium.org> wrote: > Why does ...
6 years, 7 months ago (2014-04-29 17:41:27 UTC) #25
sky
LGTM
6 years, 7 months ago (2014-04-29 19:11:41 UTC) #26
David Tseng
The CQ bit was checked by dtseng@chromium.org
6 years, 7 months ago (2014-04-29 21:38:23 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtseng@chromium.org/246433012/370001
6 years, 7 months ago (2014-04-29 21:41:11 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 00:03:51 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium linux_chromium_clang_dbg on tryserver.chromium
6 years, 7 months ago (2014-04-30 00:03:52 UTC) #30
David Tseng
The CQ bit was checked by dtseng@chromium.org
6 years, 7 months ago (2014-04-30 14:48:53 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtseng@chromium.org/246433012/430001
6 years, 7 months ago (2014-04-30 14:50:05 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 14:54:48 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium
6 years, 7 months ago (2014-04-30 14:54:49 UTC) #34
David Tseng
The CQ bit was checked by dtseng@chromium.org
6 years, 7 months ago (2014-04-30 16:47:40 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtseng@chromium.org/246433012/430001
6 years, 7 months ago (2014-04-30 16:49:42 UTC) #36
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 16:53:34 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium
6 years, 7 months ago (2014-04-30 16:53:34 UTC) #38
David Tseng
The CQ bit was checked by dtseng@chromium.org
6 years, 7 months ago (2014-04-30 17:40:55 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtseng@chromium.org/246433012/430001
6 years, 7 months ago (2014-04-30 17:41:33 UTC) #40
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 17:45:55 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium
6 years, 7 months ago (2014-04-30 17:45:56 UTC) #42
David Tseng
The CQ bit was checked by dtseng@chromium.org
6 years, 7 months ago (2014-04-30 19:11:11 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtseng@chromium.org/246433012/430001
6 years, 7 months ago (2014-04-30 19:12:31 UTC) #44
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 19:26:37 UTC) #45
Message was sent while issue was closed.
Change committed as 267297

Powered by Google App Engine
This is Rietveld 408576698