|
MacViews: Implement Full Keyboard Access.
Currently MacViews does not respect the full keyboard accessibility setting.
In the normal mode, as per Full Keyboard Access, only text boxes and lists
should get focus. However, currently, views like comboboxes, buttons, links
etc. get focus in the normal mode.
This CL implements Full Keyboard access by adding a platform level keyboard
accessibility setting to the FocusManager class.
Other changes-
- Adds a static ConfigureDefaultFocus() method to
ui/views/controls/button/button.h
- Adds ScopedFakeFullKeyboardAccess to ViewsTestHelperMac to swizzle
[NSAppl isFullKeyboardAccessEnabled] for use in tests.
- ScopedFakeNSWindowFocus now also swizzles orderOut: to determine if the
currently focused window is ordered-out.
- View::RequestToFocus now uses IsAccessibilityFocusable() instead of
IsFocusable().
For prior discussion related to this CL, see crrev.com/1690543004.
Doc - https://docs.google.com/document/d/16A_kZHCIaDEGZGIIZfEJ7sfFJD4829GcPxycuMBysW0/edit
BUG= 564912
Committed: https://crrev.com/24c156252c11425af51d646cd0d405f018c70bb8
Cr-Commit-Position: refs/heads/master@{#391744}
Total comments: 1
Total comments: 54
Total comments: 16
Total comments: 4
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+598 lines, -187 lines) |
Patch |
|
M |
ash/shell/lock_view.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ash/system/tray/tray_popup_header_button.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ash/system/tray/tray_popup_label_button.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ash/system/user/button_from_view.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/options/wifi_config_view.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/options/wimax_config_view.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/autofill/autofill_dialog_views.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/find_bar_view.cc
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/infobars/infobar_view.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/location_bar/location_icon_view.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/passwords/manage_passwords_icon_views.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/profiles/profile_chooser_view.cc
|
View
|
1
2
3
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
3 comments
|
Download
|
|
M |
chrome/browser/ui/views/toolbar/app_menu.cc
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/website_settings/chosen_object_view.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/website_settings/permission_selector_view.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/app_list/views/folder_header_view.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/base/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/base/test/scoped_fake_full_keyboard_access.h
|
View
|
1
2
3
4
5
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/base/test/scoped_fake_full_keyboard_access.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/base/test/scoped_fake_nswindow_focus.h
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/base/test/scoped_fake_nswindow_focus.mm
|
View
|
1
2
3
|
3 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/base/ui_base.gyp
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/message_center/views/message_center_button_bar.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/message_center/views/message_center_view.cc
|
View
|
|
1 chunk |
+10 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/message_center/views/notification_button.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/message_center/views/notifier_settings_view.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/message_center/views/padded_button.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/views/cocoa/bridged_content_view.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/cocoa/bridged_content_view.mm
|
View
|
1
2
3
4
|
6 chunks |
+34 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/cocoa/bridged_native_widget.mm
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/controls/button/button.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/controls/button/button.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/controls/button/checkbox.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/views/controls/button/custom_button.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/views/controls/button/image_button.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/views/controls/button/label_button.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/views/controls/button/md_text_button.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/views/controls/combobox/combobox.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/controls/label.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/views/controls/link.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/controls/link.cc
|
View
|
1
2
|
3 chunks |
+19 lines, -8 lines |
0 comments
|
Download
|
|
M |
ui/views/controls/menu/menu_controller_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/controls/slider.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/controls/tabbed_pane/tabbed_pane.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/controls/table/table_view.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/controls/tree/tree_view.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/examples/button_example.cc
|
View
|
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
ui/views/examples/tree_view_example.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/views/examples/widget_example.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/views/focus/focus_manager.h
|
View
|
1
2
3
4
5
|
4 chunks |
+21 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/views/focus/focus_manager.cc
|
View
|
1
2
3
|
5 chunks |
+40 lines, -22 lines |
0 comments
|
Download
|
|
M |
ui/views/focus/focus_manager_unittest.cc
|
View
|
1
2
|
1 chunk |
+49 lines, -5 lines |
0 comments
|
Download
|
|
M |
ui/views/focus/focus_search.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/views/focus/focus_search.cc
|
View
|
|
3 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/views/focus/focus_traversal_unittest.cc
|
View
|
1
2
3
4
5
6
|
10 chunks |
+92 lines, -94 lines |
0 comments
|
Download
|
|
M |
ui/views/test/views_test_helper_mac.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/test/views_test_helper_mac.mm
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/touchui/touch_selection_menu_runner_views.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/views/view.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/views/widget/native_widget_mac_unittest.mm
|
View
|
1
2
3
4
5
|
2 chunks |
+75 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/window/dialog_client_view.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 42 (22 generated)
|