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

Issue 2823009: Keep a map of all views that have sent notifications. This ensures that Acce... (Closed)

Created:
10 years, 6 months ago by David Tseng
Modified:
9 years, 5 months ago
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Keep a cache of all views that have sent notifications. This ensures that AccessibleObjectFromEvent works properly. BUG=9601 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=50302

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Total comments: 3

Patch Set 3 : '' #

Total comments: 7

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -8 lines) Patch
M views/accessibility/accessibility_types.h View 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M views/accessibility/view_accessibility.h View 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M views/accessibility/view_accessibility.cc View 1 2 3 4 5 2 chunks +36 lines, -2 lines 0 comments Download
M views/focus/focus_manager_win.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M views/view.h View 1 2 3 4 5 1 chunk +5 lines, -1 line 0 comments Download
M views/view_gtk.cc View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M views/view_win.cc View 1 2 3 4 5 2 chunks +13 lines, -0 lines 0 comments Download
M views/widget/widget_win.h View 1 2 3 4 5 4 chunks +29 lines, -1 line 0 comments Download
M views/widget/widget_win.cc View 1 2 3 4 5 4 chunks +32 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
David Tseng
10 years, 6 months ago (2010-06-16 22:34:18 UTC) #1
dmazzoni
Good fix. http://codereview.chromium.org/2823009/diff/1/2 File views/accessibility/view_accessibility.cc (right): http://codereview.chromium.org/2823009/diff/1/2#newcode298 views/accessibility/view_accessibility.cc:298: // Child is located elsewhere in this ...
10 years, 6 months ago (2010-06-16 22:51:08 UTC) #2
David Tseng
http://codereview.chromium.org/2823009/diff/1/2 File views/accessibility/view_accessibility.cc (right): http://codereview.chromium.org/2823009/diff/1/2#newcode298 views/accessibility/view_accessibility.cc:298: // Child is located elsewhere in this view's subtree. ...
10 years, 6 months ago (2010-06-17 00:03:24 UTC) #3
dmazzoni
http://codereview.chromium.org/2823009/diff/9001/10003 File views/view.h (right): http://codereview.chromium.org/2823009/diff/9001/10003#newcode544 views/view.h:544: virtual void NotifyAccessibilityEvent(long event_type); This needs to compile on ...
10 years, 6 months ago (2010-06-17 14:47:18 UTC) #4
Chris Guillory
http://codereview.chromium.org/2823009/diff/9001/10001 File views/accessibility/view_accessibility.cc (right): http://codereview.chromium.org/2823009/diff/9001/10001#newcode296 views/accessibility/view_accessibility.cc:296: return S_OK; According to MSAA documentation we should be ...
10 years, 6 months ago (2010-06-17 18:52:38 UTC) #5
David Tseng
> http://codereview.chromium.org/2823009/diff/9001/10001 > File views/accessibility/view_accessibility.cc (right): > > http://codereview.chromium.org/2823009/diff/9001/10001#newcode296 > views/accessibility/view_accessibility.cc:296: return S_OK; > According ...
10 years, 6 months ago (2010-06-17 19:06:33 UTC) #6
David Tseng
> > http://codereview.chromium.org/2823009/diff/9001/10003 > File views/view.h (right): > > http://codereview.chromium.org/2823009/diff/9001/10003#newcode544 > views/view.h:544: virtual void NotifyAccessibilityEvent(long ...
10 years, 6 months ago (2010-06-18 06:02:33 UTC) #7
dmazzoni
Great, I think this is the final implementation! One last important issue, besides a few ...
10 years, 6 months ago (2010-06-18 13:50:11 UTC) #8
Chris Guillory
LGTM with Dominic's comments.
10 years, 6 months ago (2010-06-18 17:50:43 UTC) #9
David Tseng
> > One last important issue, besides a few details below: it's possible that > ...
10 years, 6 months ago (2010-06-18 20:13:36 UTC) #10
dmazzoni
LGTM. http://codereview.chromium.org/2823009/diff/53001/30003 File views/accessibility/view_accessibility.cc (right): http://codereview.chromium.org/2823009/diff/53001/30003#newcode789 views/accessibility/view_accessibility.cc:789: return-1; Add a space after return. http://codereview.chromium.org/2823009/diff/53001/30010 File ...
10 years, 6 months ago (2010-06-18 20:29:07 UTC) #11
David Tseng
10 years, 6 months ago (2010-06-18 20:46:25 UTC) #12
Done and done.  Thanks!

On 6/18/10, dmazzoni@chromium.org <dmazzoni@chromium.org> wrote:
> LGTM.
>
>
>
> http://codereview.chromium.org/2823009/diff/53001/30003
> File views/accessibility/view_accessibility.cc (right):
>
> http://codereview.chromium.org/2823009/diff/53001/30003#newcode789
> views/accessibility/view_accessibility.cc:789: return-1;
> Add a space after return.
>
> http://codereview.chromium.org/2823009/diff/53001/30010
> File views/widget/widget_win.h (right):
>
> http://codereview.chromium.org/2823009/diff/53001/30010#newcode571
> views/widget/widget_win.h:571: static const int
> kMax_Accessibility_View_Events_ = 20;
> Almost...no underscores here, just CamelCase.
>
> http://codereview.chromium.org/2823009/show
>

Powered by Google App Engine
This is Rietveld 408576698