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

Issue 8588036: Improve support for multiselect list box accessibility on Windows. (Closed)

Created:
9 years, 1 month ago by dmazzoni
Modified:
9 years ago
CC:
chromium-reviews, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, yoshiki+watch_chromium.org, davidbarr+watch_chromium.org, jam, yuzo+watch_chromium.org, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, brettw-cc_chromium.org, ctguil+watch_chromium.org, zork+watch_chromium.org, Nico, M-A Ruel
Visibility:
Public.

Description

Improve support for multiselect list box accessibility on Windows. Exposes several new states and attributes and fires new notifications when the selection changes. Adds general-purpose implementations of IUnknown and IEnumVARIANT to base/win/, which will be used in the future as we remote ATL from accessibility code. BUG=5027, 98984 TEST=manual testing with JAWS and NVDA Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112870

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 24

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 19

Patch Set 10 : '' #

Total comments: 2

Patch Set 11 : '' #

Total comments: 6

Patch Set 12 : '' #

Total comments: 8

Patch Set 13 : '' #

Patch Set 14 : '' #

Total comments: 2

Patch Set 15 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+556 lines, -31 lines) Patch
M base/base.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M base/base.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -0 lines 0 comments Download
A base/win/enum_variant.h View 1 2 3 4 5 6 7 8 9 1 chunk +53 lines, -0 lines 0 comments Download
A base/win/enum_variant.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +83 lines, -0 lines 0 comments Download
A base/win/enum_variant_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +118 lines, -0 lines 0 comments Download
A base/win/iunknown_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +40 lines, -0 lines 0 comments Download
A base/win/iunknown_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +42 lines, -0 lines 0 comments Download
A base/win/iunknown_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +51 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.h 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 content/browser/accessibility/browser_accessibility.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +7 lines, -5 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +143 lines, -25 lines 0 comments Download
M content/renderer/renderer_accessibility.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -1 line 0 comments Download
M webkit/glue/webaccessibility.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
dmazzoni
No rush, and happy Thanksgiving! dtseng: accessibility code thakis: base/win (or feel free to delegate) ...
9 years, 1 month ago (2011-11-21 23:57:05 UTC) #1
Nico
I'm not that great with windows (I could review the patch, but I can't judge ...
9 years, 1 month ago (2011-11-22 00:02:43 UTC) #2
tony
rubber stamp LGTM for webkit/glue
9 years, 1 month ago (2011-11-22 00:05:10 UTC) #3
darin (slow to review)
http://codereview.chromium.org/8588036/diff/2001/base/win/enum_variant.cc File base/win/enum_variant.cc (right): http://codereview.chromium.org/8588036/diff/2001/base/win/enum_variant.cc#newcode81 base/win/enum_variant.cc:81: *other->get(i) = items_[i]; it is interesting that there is ...
9 years, 1 month ago (2011-11-22 01:16:52 UTC) #4
dmazzoni
Thanks! http://codereview.chromium.org/8588036/diff/2001/base/win/enum_variant.cc File base/win/enum_variant.cc (right): http://codereview.chromium.org/8588036/diff/2001/base/win/enum_variant.cc#newcode81 base/win/enum_variant.cc:81: *other->get(i) = items_[i]; On 2011/11/22 01:16:52, darin wrote: ...
9 years, 1 month ago (2011-11-22 08:08:14 UTC) #5
M-A Ruel
I'd highly prefer a enum_variant_test.cc. Also you can probably add 5027 to the list of ...
9 years, 1 month ago (2011-11-22 14:42:30 UTC) #6
dmazzoni
I'll add a test. There will probably be several other COM classes like this going ...
9 years, 1 month ago (2011-11-23 06:18:10 UTC) #7
darin (slow to review)
On Tue, Nov 22, 2011 at 12:08 AM, <dmazzoni@chromium.org> wrote: > Thanks! > > > ...
9 years, 1 month ago (2011-11-23 16:55:41 UTC) #8
dmazzoni
On Wed, Nov 23, 2011 at 8:55 AM, Darin Fisher <darin@chromium.org> wrote: > I think ...
9 years, 1 month ago (2011-11-23 17:50:12 UTC) #9
dmazzoni
Ready for another look. I added a unit test and made it derive from RefCountedThreadSafe. ...
9 years ago (2011-11-28 22:37:43 UTC) #10
darin (slow to review)
Wow... COM says that AddRef and Release don't necessarily need to return the actual ref-count ...
9 years ago (2011-11-28 23:07:31 UTC) #11
dmazzoni
On Mon, Nov 28, 2011 at 3:07 PM, Darin Fisher <darin@chromium.org> wrote: > Wow... COM ...
9 years ago (2011-11-29 00:08:37 UTC) #12
darin (slow to review)
On Mon, Nov 28, 2011 at 4:08 PM, Dominic Mazzoni <dmazzoni@chromium.org>wrote: > On Mon, Nov ...
9 years ago (2011-11-29 00:27:26 UTC) #13
dmazzoni
On 2011/11/29 00:27:26, darin wrote: > +1 for IUnknownImpl Ready for another look. I created ...
9 years ago (2011-11-29 19:57:02 UTC) #14
M-A Ruel
http://codereview.chromium.org/8588036/diff/27037/base/win/enum_variant.cc File base/win/enum_variant.cc (right): http://codereview.chromium.org/8588036/diff/27037/base/win/enum_variant.cc#newcode14 base/win/enum_variant.cc:14: items_.reset(new VARIANT[count_]); Why not do it in the member ...
9 years ago (2011-11-29 20:28:31 UTC) #15
dmazzoni
http://codereview.chromium.org/8588036/diff/27037/base/win/enum_variant.cc File base/win/enum_variant.cc (right): http://codereview.chromium.org/8588036/diff/27037/base/win/enum_variant.cc#newcode14 base/win/enum_variant.cc:14: items_.reset(new VARIANT[count_]); On 2011/11/29 20:28:32, Marc-Antoine Ruel wrote: > ...
9 years ago (2011-11-29 21:54:59 UTC) #16
M-A Ruel
http://codereview.chromium.org/8588036/diff/27037/content/browser/accessibility/browser_accessibility_win.h File content/browser/accessibility/browser_accessibility_win.h (right): http://codereview.chromium.org/8588036/diff/27037/content/browser/accessibility/browser_accessibility_win.h#newcode725 content/browser/accessibility/browser_accessibility_win.h:725: int32 old_ia_state_; On 2011/11/29 21:55:00, Dominic Mazzoni wrote: > ...
9 years ago (2011-11-29 22:12:28 UTC) #17
dmazzoni
On 2011/11/29 22:12:28, Marc-Antoine Ruel wrote: > See base/memory/ref_counted.cc. It's highly preferable to initialize it ...
9 years ago (2011-11-29 22:21:34 UTC) #18
David Tseng
http://codereview.chromium.org/8588036/diff/33005/content/browser/accessibility/browser_accessibility_win.cc File content/browser/accessibility/browser_accessibility_win.cc (right): http://codereview.chromium.org/8588036/diff/33005/content/browser/accessibility/browser_accessibility_win.cc#newcode538 content/browser/accessibility/browser_accessibility_win.cc:538: for (size_t i = 0; i < children_.size(); i++) ...
9 years ago (2011-11-30 19:07:09 UTC) #19
dmazzoni
http://codereview.chromium.org/8588036/diff/33005/content/browser/accessibility/browser_accessibility_win.cc File content/browser/accessibility/browser_accessibility_win.cc (right): http://codereview.chromium.org/8588036/diff/33005/content/browser/accessibility/browser_accessibility_win.cc#newcode538 content/browser/accessibility/browser_accessibility_win.cc:538: for (size_t i = 0; i < children_.size(); i++) ...
9 years ago (2011-11-30 19:55:39 UTC) #20
David Tseng
lgtm On 11/30/11, dmazzoni@chromium.org <dmazzoni@chromium.org> wrote: > > http://codereview.chromium.org/8588036/diff/33005/content/browser/accessibility/browser_accessibility_win.cc > File content/browser/accessibility/browser_accessibility_win.cc (right): > > ...
9 years ago (2011-11-30 21:55:10 UTC) #21
M-A Ruel
lgtm with optional nits http://codereview.chromium.org/8588036/diff/39001/base/win/enum_variant.h File base/win/enum_variant.h (right): http://codereview.chromium.org/8588036/diff/39001/base/win/enum_variant.h#newcode27 base/win/enum_variant.h:27: VARIANT* ItemAt(unsigned long index); Why ...
9 years ago (2011-12-01 00:35:13 UTC) #22
darin (slow to review)
On Tue, Nov 29, 2011 at 11:57 AM, <dmazzoni@chromium.org> wrote: > On 2011/11/29 00:27:26, darin ...
9 years ago (2011-12-01 17:58:32 UTC) #23
dmazzoni
Darin - changed AddRef/Release as suggested. You're probably right...I'm just paranoid because of how many ...
9 years ago (2011-12-02 00:44:06 UTC) #24
darin (slow to review)
LGTM (Please feel free to say "I told you so" if my AddRef/Release suggestion comes ...
9 years ago (2011-12-02 06:49:45 UTC) #25
M-A Ruel
http://codereview.chromium.org/8588036/diff/47006/content/browser/accessibility/browser_accessibility_win.cc File content/browser/accessibility/browser_accessibility_win.cc (right): http://codereview.chromium.org/8588036/diff/47006/content/browser/accessibility/browser_accessibility_win.cc#newcode573 content/browser/accessibility/browser_accessibility_win.cc:573: selected->punkVal = static_cast<base::win::IUnknownImpl*>(enum_variant); That works? Since you are putting ...
9 years ago (2011-12-02 12:52:27 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/8588036/49005
9 years ago (2011-12-02 23:49:55 UTC) #27
commit-bot: I haz the power
Try job failure for 8588036-49005 (retry) on linux_rel for step "browser_tests". It's a second try, ...
9 years ago (2011-12-03 01:04:45 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/8588036/49005
9 years ago (2011-12-03 03:03:07 UTC) #29
commit-bot: I haz the power
9 years ago (2011-12-03 04:31:15 UTC) #30
Change committed as 112870

Powered by Google App Engine
This is Rietveld 408576698