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 115374: Adds propagation and handling of render-side focus events, for the benefit of... (Closed)

Created:
11 years, 7 months ago by Jonas Klink (Google)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Adds propagation and handling of render-side focus events, for the benefit of assistive technologies (accessibility). Also cleans up the handling of WM_GETOBJECT in RenderWidgetHostViewWin and WidgetWin, as well as in BrowserAccessibilityManager. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=16449

Patch Set 1 #

Total comments: 25

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+379 lines, -264 lines) Patch
M chrome/browser/browser_accessibility.h View 1 6 chunks +31 lines, -19 lines 0 comments Download
M chrome/browser/browser_accessibility.cc View 8 chunks +46 lines, -37 lines 0 comments Download
M chrome/browser/browser_accessibility_manager.h View 1 4 chunks +30 lines, -44 lines 0 comments Download
M chrome/browser/browser_accessibility_manager.cc View 1 5 chunks +70 lines, -82 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_win.cc View 3 chunks +11 lines, -30 lines 0 comments Download
M chrome/common/render_messages.h View 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/render_messages_internal.h View 2 chunks +8 lines, -1 line 0 comments Download
M chrome/renderer/render_view.h View 2 chunks +1 line, -1 line 0 comments Download
M chrome/renderer/render_view.cc View 1 4 chunks +24 lines, -2 lines 0 comments Download
M views/widget/widget_win.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M webkit/glue/chrome_client_impl.h View 2 chunks +3 lines, -2 lines 0 comments Download
M webkit/glue/chrome_client_impl.cc View 6 chunks +30 lines, -3 lines 0 comments Download
M webkit/glue/glue_accessibility_object.h View 2 chunks +2 lines, -1 line 0 comments Download
M webkit/glue/glue_accessibility_object.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webaccessibility.h View 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/glue/webaccessibilitymanager.h View 1 3 chunks +10 lines, -1 line 0 comments Download
M webkit/glue/webaccessibilitymanager_impl.h View 3 chunks +14 lines, -12 lines 0 comments Download
M webkit/glue/webaccessibilitymanager_impl.cc View 1 8 chunks +59 lines, -21 lines 2 comments Download
M webkit/glue/webview_delegate.h View 2 chunks +11 lines, -0 lines 0 comments Download
M webkit/glue/webview_impl.h View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Jonas Klink (Google)
11 years, 7 months ago (2009-05-14 20:22:11 UTC) #1
jcampan
http://codereview.chromium.org/115374/diff/1/16 File chrome/browser/browser_accessibility_manager.cc (right): http://codereview.chromium.org/115374/diff/1/16#newcode61 Line 61: MapEntry(rvh->process()->pid(), instance)); Nit: I think you can use ...
11 years, 7 months ago (2009-05-15 17:33:24 UTC) #2
Jonas Klink (Google)
On 2009/05/15 17:33:24, jcampan wrote: > http://codereview.chromium.org/115374/diff/1/16 > File chrome/browser/browser_accessibility_manager.cc (right): > > http://codereview.chromium.org/115374/diff/1/16#newcode61 > ...
11 years, 7 months ago (2009-05-15 22:43:29 UTC) #3
Jonas Klink (Google)
http://codereview.chromium.org/115374/diff/1/16 File chrome/browser/browser_accessibility_manager.cc (right): http://codereview.chromium.org/115374/diff/1/16#newcode61 Line 61: MapEntry(rvh->process()->pid(), instance)); On 2009/05/15 17:33:24, jcampan wrote: > ...
11 years, 7 months ago (2009-05-15 22:48:55 UTC) #4
darin (slow to review)
I reviewed only the webkit/* files for now. The changes there seem fine to me. ...
11 years, 7 months ago (2009-05-18 22:43:21 UTC) #5
jcampan
11 years, 7 months ago (2009-05-19 21:50:03 UTC) #6
LGTM

http://codereview.chromium.org/115374/diff/1/6
File webkit/glue/webaccessibilitymanager_impl.cc (right):

http://codereview.chromium.org/115374/diff/1/6#newcode276
Line 276: return acc_obj_id_++;
On 2009/05/15 22:48:55, Jonas Klink (Google) wrote:
> On 2009/05/15 17:33:24, jcampan wrote:
> > I am confused: this is not returning the id of the object created but id +
1.
> Actually, the return happens before the post-increment. The returned number
will
> be that of the created accessibility object.
Doh! You are right, I am stupid!

http://codereview.chromium.org/115374/diff/1035/40#newcode60
Line 60: // The object to be retrived is referred to by the
|in_params.child_id|, as
typo: retrived -> retrieved

Powered by Google App Engine
This is Rietveld 408576698