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

Issue 23441024: Implement put_accvalue for textfields and location bar. (Closed)

Created:
7 years, 3 months ago by dmazzoni
Modified:
7 years, 3 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, James Su, yusukes+watch_chromium.org, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, tfarina, yoshiki+watch_chromium.org, penghuang+watch_chromium.org, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, nona+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, ctguil+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Implement put_accvalue for textfields and location bar. All interactive views implement GetAccessibleState to provide accessibility information about the current state of the view. This struct now includes a callback that can be used to change the string value, since automation software wants to fill in text fields, and this interface is implemented for Textfield and LocationBarView, and hooked up to put_accValue. BUG=260266 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221688

Patch Set 1 #

Total comments: 14

Patch Set 2 : Add test, address feedback #

Total comments: 2

Patch Set 3 : Switch to WeakPtrFactory #

Total comments: 10

Patch Set 4 : Address feedback #

Total comments: 4

Patch Set 5 : Fix nits #

Patch Set 6 : Fix test in debug mode #

Patch Set 7 : Rebase #

Patch Set 8 : Fix rebase error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+357 lines, -215 lines) Patch
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 3 4 5 6 4 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 7 6 chunks +217 lines, -198 lines 0 comments Download
M ui/base/accessibility/accessible_view_state.h View 1 2 chunks +12 lines, -0 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility_win.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility_win.cc View 1 3 chunks +20 lines, -8 lines 0 comments Download
A ui/views/accessibility/native_view_accessibility_win_unittest.cc View 1 2 3 4 5 1 chunk +65 lines, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield.h View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 1 2 3 4 5 6 5 chunks +20 lines, -2 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
dmazzoni
7 years, 3 months ago (2013-08-30 22:22:55 UTC) #1
msw
Thank you so much for addressing this! I have some minor comments. https://codereview.chromium.org/23441024/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc ...
7 years, 3 months ago (2013-08-31 20:22:36 UTC) #2
msw
Also, unit test(s) and a more complete CL description would be awesome.
7 years, 3 months ago (2013-08-31 20:23:21 UTC) #3
dmazzoni
https://codereview.chromium.org/23441024/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://codereview.chromium.org/23441024/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode1305 chrome/browser/ui/views/location_bar/location_bar_view.cc:1305: location_entry_->SelectAll(false); On 2013/08/31 20:22:36, msw wrote: > This does ...
7 years, 3 months ago (2013-09-03 20:20:11 UTC) #4
msw
Great unit test! Just one suggestion, but I'm open to your thoughts on WeakPtrFactory vs. ...
7 years, 3 months ago (2013-09-03 21:06:57 UTC) #5
dmazzoni
+sky for OWNERS review https://codereview.chromium.org/23441024/diff/12001/chrome/browser/ui/views/location_bar/location_bar_view.h File chrome/browser/ui/views/location_bar/location_bar_view.h (right): https://codereview.chromium.org/23441024/diff/12001/chrome/browser/ui/views/location_bar/location_bar_view.h#newcode81 chrome/browser/ui/views/location_bar/location_bar_view.h:81: public base::SupportsWeakPtr<LocationBarView> { On 2013/09/03 ...
7 years, 3 months ago (2013-09-04 06:48:03 UTC) #6
sky
https://codereview.chromium.org/23441024/diff/24001/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://codereview.chromium.org/23441024/diff/24001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode227 chrome/browser/ui/views/location_bar/location_bar_view.cc:227: weak_ptr_factory_.InvalidateWeakPtrs(); Is there a reason you're explicitly invoking this? ...
7 years, 3 months ago (2013-09-04 16:20:12 UTC) #7
dmazzoni
https://codereview.chromium.org/23441024/diff/24001/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://codereview.chromium.org/23441024/diff/24001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode227 chrome/browser/ui/views/location_bar/location_bar_view.cc:227: weak_ptr_factory_.InvalidateWeakPtrs(); On 2013/09/04 16:20:12, sky wrote: > Is there ...
7 years, 3 months ago (2013-09-04 17:16:16 UTC) #8
sky
LGTM
7 years, 3 months ago (2013-09-04 20:11:45 UTC) #9
msw
LGTM with a couple minor nits. https://codereview.chromium.org/23441024/diff/35001/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://codereview.chromium.org/23441024/diff/35001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode1384 chrome/browser/ui/views/location_bar/location_bar_view.cc:1384: ////// nit: finish ...
7 years, 3 months ago (2013-09-04 20:18:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/23441024/35001
7 years, 3 months ago (2013-09-04 20:18:21 UTC) #11
dmazzoni
https://codereview.chromium.org/23441024/diff/35001/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://codereview.chromium.org/23441024/diff/35001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode1384 chrome/browser/ui/views/location_bar/location_bar_view.cc:1384: ////// On 2013/09/04 20:18:20, msw wrote: > nit: finish ...
7 years, 3 months ago (2013-09-04 22:01:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/23441024/53001
7 years, 3 months ago (2013-09-04 22:03:10 UTC) #13
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) ui_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=82743
7 years, 3 months ago (2013-09-04 23:01:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/23441024/66001
7 years, 3 months ago (2013-09-05 15:58:05 UTC) #15
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/views/location_bar/location_bar_view.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-05 15:58:11 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/23441024/69001
7 years, 3 months ago (2013-09-05 16:23:57 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-05 17:03:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/23441024/84001
7 years, 3 months ago (2013-09-06 07:56:40 UTC) #19
commit-bot: I haz the power
7 years, 3 months ago (2013-09-06 12:14:52 UTC) #20
Message was sent while issue was closed.
Change committed as 221688

Powered by Google App Engine
This is Rietveld 408576698