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

Issue 3389037: Make the selection start and end attributes of an html input control... (Closed)

Created:
10 years, 2 months ago by dmazzoni
Modified:
9 years, 7 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, darin-cc_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Make the selection start and end attributes of an html input control accessible, implement IAccessibleText methods to retrieve this info, and post a notification when the cursor moves within a text field. BUG=none TEST=Added new test to renderer_accessibility_browsertest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=61216

Patch Set 1 #

Total comments: 7

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+357 lines, -102 lines) Patch
M chrome/browser/browser_accessibility_manager_win.h View 2 chunks +18 lines, -2 lines 0 comments Download
M chrome/browser/browser_accessibility_manager_win.cc View 4 chunks +66 lines, -27 lines 0 comments Download
M chrome/browser/browser_accessibility_win.h View 1 4 chunks +49 lines, -40 lines 0 comments Download
M chrome/browser/browser_accessibility_win.cc View 1 10 chunks +117 lines, -17 lines 1 comment Download
M chrome/browser/renderer_host/test/renderer_accessibility_browsertest.cc View 1 2 5 chunks +75 lines, -13 lines 0 comments Download
M chrome/common/render_messages_params.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/render_messages_params.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/render_view.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/glue/webaccessibility.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/glue/webaccessibility.cc View 1 4 chunks +19 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dmazzoni
10 years, 2 months ago (2010-09-28 16:59:18 UTC) #1
Chris Guillory
LGTM. Some comments. http://codereview.chromium.org/3389037/diff/1/2 File chrome/browser/browser_accessibility_win.cc (right): http://codereview.chromium.org/3389037/diff/1/2#newcode704 chrome/browser/browser_accessibility_win.cc:704: StringToInt(sel_start_text, &sel_start) && NitNit: Perhaps add ...
10 years, 2 months ago (2010-09-28 17:46:47 UTC) #2
dmazzoni
On Tue, Sep 28, 2010 at 10:46 AM, <ctguil@chromium.org> wrote: > LGTM. Some comments. > ...
10 years, 2 months ago (2010-09-28 19:38:28 UTC) #3
Paweł Hajdan Jr.
Drive-by with test comments. http://codereview.chromium.org/3389037/diff/1/4 File chrome/browser/renderer_host/test/renderer_accessibility_browsertest.cc (right): http://codereview.chromium.org/3389037/diff/1/4#newcode47 chrome/browser/renderer_host/test/renderer_accessibility_browsertest.cc:47: // Execute some JavaScript. Can ...
10 years, 2 months ago (2010-09-29 08:45:16 UTC) #4
dmazzoni
On Wed, Sep 29, 2010 at 1:45 AM, <phajdan.jr@chromium.org> wrote: > Drive-by with test comments. ...
10 years, 2 months ago (2010-10-01 17:04:53 UTC) #5
dmazzoni
Ready for another review. The changelist now posts a notification when the cursor or selection ...
10 years, 2 months ago (2010-10-01 17:06:18 UTC) #6
Chris Guillory
LGreatTM!! http://codereview.chromium.org/3389037/diff/23001/24003 File chrome/browser/browser_accessibility_win.cc (right): http://codereview.chromium.org/3389037/diff/23001/24003#newcode650 chrome/browser/browser_accessibility_win.cc:650: string16 text_str; Can we use a reference here.
10 years, 2 months ago (2010-10-01 18:06:43 UTC) #7
dmazzoni
10 years, 2 months ago (2010-10-01 19:57:13 UTC) #8
On Fri, Oct 1, 2010 at 11:06 AM, <ctguil@chromium.org> wrote:

> http://codereview.chromium.org/3389037/diff/23001/24003#newcode650
> chrome/browser/browser_accessibility_win.cc:650: string16 text_str;
> Can we use a reference here.
>

Not easily, you can only use a reference if you initialize it in the same
line.

- Dominic

Powered by Google App Engine
This is Rietveld 408576698