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

Issue 3015026: Add initial tests for keyboard access (tabbing in some dialogs).... (Closed)

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

Description

Add initial tests for keyboard access (tabbing in some dialogs). BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54074

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 9

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 2

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -11 lines) Patch
M chrome/browser/autocomplete/autocomplete_edit_view_win.cc View 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/views/bookmark_bar_view_test.cc View 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/views/browser_keyboard_accessibility_test_win.cc View 4 5 6 7 8 1 chunk +175 lines, -0 lines 0 comments Download
M chrome/browser/views/chrome_views_delegate.h View 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/interactive_ui/interactive_ui_tests.gypi View 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M views/controls/native_control.cc View 8 1 chunk +1 line, -1 line 0 comments Download
M views/view.h View 3 8 1 chunk +6 lines, -1 line 0 comments Download
M views/view_gtk.cc View 4 5 6 7 8 2 chunks +12 lines, -1 line 0 comments Download
M views/view_unittest.cc View 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M views/view_win.cc View 1 2 3 4 5 6 7 8 2 chunks +20 lines, -8 lines 0 comments Download
M views/views_delegate.h View 4 5 6 7 8 3 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
David Tseng
Ready for a first look. I intend this to be added to the interactive UI ...
10 years, 5 months ago (2010-07-23 22:35:55 UTC) #1
tfarina
Mostly style nits below! http://codereview.chromium.org/3015026/diff/4002/11001 File chrome/browser/views/browser_keyboard_accessibility.cc (right): http://codereview.chromium.org/3015026/diff/4002/11001#newcode6 chrome/browser/views/browser_keyboard_accessibility.cc:6: #include "chrome/browser/automation/ui_controls.h" please, fix the ...
10 years, 5 months ago (2010-07-25 03:10:39 UTC) #2
dmazzoni
Make sure that "win" and "test" are both in the filename. When you add it ...
10 years, 5 months ago (2010-07-26 16:52:27 UTC) #3
David Tseng
Thanks for looking through this. http://codereview.chromium.org/3015026/diff/4002/11001 File chrome/browser/views/browser_keyboard_accessibility.cc (right): http://codereview.chromium.org/3015026/diff/4002/11001#newcode6 chrome/browser/views/browser_keyboard_accessibility.cc:6: #include "chrome/browser/automation/ui_controls.h" please, fix ...
10 years, 5 months ago (2010-07-26 20:29:54 UTC) #4
David Tseng
> Make sure that "win" and "test" are both in the filename. Done. > > ...
10 years, 5 months ago (2010-07-26 20:47:13 UTC) #5
dmazzoni
On Mon, Jul 26, 2010 at 1:47 PM, David Tseng <dtseng@chromium.org> wrote: > > When ...
10 years, 5 months ago (2010-07-26 20:49:34 UTC) #6
dmazzoni
Looking pretty good, just a couple more suggestions for readability. http://codereview.chromium.org/3015026/diff/39001/40002 File chrome/browser/views/browser_keyboard_accessibility_test_win.cc (right): http://codereview.chromium.org/3015026/diff/39001/40002#newcode78 ...
10 years, 5 months ago (2010-07-26 21:12:46 UTC) #7
David Tseng
http://codereview.chromium.org/3015026/diff/39001/40002 File chrome/browser/views/browser_keyboard_accessibility_test_win.cc (right): http://codereview.chromium.org/3015026/diff/39001/40002#newcode78 chrome/browser/views/browser_keyboard_accessibility_test_win.cc:78: TabCycler(current_view()->GetWidget()->GetNativeView(), true); Make a helper method GetNativeView() so that ...
10 years, 5 months ago (2010-07-26 22:36:26 UTC) #8
David Tseng
I've gone ahead and added the rest of the dialogs from Browser; two of them, ...
10 years, 5 months ago (2010-07-27 22:43:37 UTC) #9
dmazzoni
Any chance this test could be easily adapted to work with toolbars as well? It's ...
10 years, 5 months ago (2010-07-27 23:05:52 UTC) #10
David Tseng
> Any chance this test could be easily adapted to work with toolbars as well? ...
10 years, 5 months ago (2010-07-28 01:04:54 UTC) #11
David Tseng
Ok; this is ready for another look. I've added support for not firing native accessibility ...
10 years, 4 months ago (2010-07-28 17:52:14 UTC) #12
dmazzoni
LGTM. Great test! http://codereview.chromium.org/3015026/diff/27008/57019 File views/view_win.cc (right): http://codereview.chromium.org/3015026/diff/27008/57019#newcode39 views/view_win.cc:39: bool is_native) { How about send_native_event ...
10 years, 4 months ago (2010-07-28 19:31:15 UTC) #13
Chris Guillory
10 years, 4 months ago (2010-07-28 22:02:20 UTC) #14
LTGM

http://codereview.chromium.org/3015026/diff/27008/57012
File chrome/browser/views/browser_keyboard_accessibility_test_win.cc (right):

http://codereview.chromium.org/3015026/diff/27008/57012#newcode79
chrome/browser/views/browser_keyboard_accessibility_test_win.cc:79:
TabCycler(about_chrome_window->GetNativeWindow(), true);
Nit: This code is duplicated a lot. Perhaps collapse these TabCycler calls into
an overloading TabCycler function with no arguments.

Powered by Google App Engine
This is Rietveld 408576698