Skip to content

Commit

Permalink
Revert Switch Access accessibility sprint code
Browse files Browse the repository at this point in the history
The codebase is currently cluttered with unused code from the
accessibility sprint in Q4 2021. Let's remove all of that code, since
it was mostly for proof of concept. We will reland some of this
when the official switch access shortcuts are implemented.

AX-Relnotes: N/A
Bug: 1305400
Change-Id: Icf01a3ebc7fbb5898de97a3b1bec6ca12a72e980
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3518351
Reviewed-by: Anastasia Helfinstein <anastasi@google.com>
Reviewed-by: Mark Schillaci <mschillaci@google.com>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Akihiro Ota <akihiroota@chromium.org>
Cr-Commit-Position: refs/heads/main@{#982947}
  • Loading branch information
akihiroota87 authored and Chromium LUCI CQ committed Mar 18, 2022
1 parent d992cf3 commit 2a291a2
Show file tree
Hide file tree
Showing 57 changed files with 4 additions and 2,236 deletions.
120 changes: 0 additions & 120 deletions ash/ash_strings.grd
Expand Up @@ -1102,126 +1102,6 @@ This file contains the strings for ash.
Start selecting
</message>

<!-- This block of strings is for an experimental Switch Access feature hidden behind a flag -->
<message name="IDS_ASH_SWITCH_ACCESS_SHORTCUTS" desc="The label for the Switch Access menu option to open the shortcutss menu." translateable="false">
Shortcuts
</message>
<message name="IDS_ASH_SWITCH_ACCESS_LEAVE_GROUP" desc="The label for the Switch Access menu option to leave the current group." translateable="false">
Leave group
</message>
<message name="IDS_ASH_SWITCH_ACCESS_WEB_MENU" desc="Switch access sub menu option for web." translateable="false">
Web
</message>
<message name="IDS_ASH_SWITCH_ACCESS_WEB_BOOKMARK" desc="Switch access sub menu option to bookmark a page." translateable="false">
Bookmark
</message>
<message name="IDS_ASH_SWITCH_ACCESS_WEB_BOTTOM_OF_PAGE" desc="Switch access sub menu option to jump to bottom of page." translateable="false">
Bottom of page
</message>
<message name="IDS_ASH_SWITCH_ACCESS_WEB_TOP_OF_PAGE" desc="Switch access sub menu option to jump to top of page." translateable="false">
Top of page
</message>
<message name="IDS_ASH_SWITCH_ACCESS_WEB_FIND_IN_PAGE" desc="Switch access sub menu option to find in page." translateable="false">
Find in page
</message>
<message name="IDS_ASH_SWITCH_ACCESS_WEB_DOWNLOADS" desc="Switch access sub menu option to open downloads." translateable="false">
Downloads
</message>
<message name="IDS_ASH_SWITCH_ACCESS_WEB_CLEAR_HISTORY" desc="Switch access sub menu option to clear history." translateable="false">
Clear history
</message>
<message name="IDS_ASH_SWITCH_ACCESS_SYSTEM_MENU" desc="Switch access sub menu option for system." translateable="false">
System
</message>
<message name="IDS_ASH_SWITCH_ACCESS_SYSTEM_STATUS_BAR" desc="Switch access sub menu option to open status bar." translateable="false">
Status bar
</message>
<message name="IDS_ASH_SWITCH_ACCESS_SYSTEM_LAUNCHER" desc="Switch access sub menu option to open the launcher." translateable="false">
Launcher
</message>
<message name="IDS_ASH_SWITCH_ACCESS_SYSTEM_TASK_MANAGER" desc="Switch access sub menu option to open task manager." translateable="false">
Task manager
</message>
<message name="IDS_ASH_SWITCH_ACCESS_SYSTEM_DIAGNOSTICS" desc="Switch access sub menu option to open diagnostics." translateable="false">
Diagnostics
</message>
<message name="IDS_ASH_SWITCH_ACCESS_SYSTEM_SCREENSHOT" desc="Switch access sub menu option to take a screenshot." translateable="false">
Take screenshot
</message>
<message name="IDS_ASH_SWITCH_ACCESS_SYSTEM_HELP" desc="Switch access sub menu option to open help." translateable="false">
Help
</message>
<message name="IDS_ASH_SWITCH_ACCESS_MEDIA_MENU" desc="Switch access sub menu option for media." translateable="false">
Media
</message>
<message name="IDS_ASH_SWITCH_ACCESS_MEDIA_MUTE" desc="Switch access sub menu option to mute." translateable="false">
Mute
</message>
<message name="IDS_ASH_SWITCH_ACCESS_MEDIA_VOLUME_DOWN" desc="Switch access sub menu option to turn volume down." translateable="false">
Volume down
</message>
<message name="IDS_ASH_SWITCH_ACCESS_MEDIA_VOLUME_UP" desc="Switch access sub menu option to turn volume up." translateable="false">
Volume up
</message>
<message name="IDS_ASH_SWITCH_ACCESS_MEDIA_REWIND" desc="Switch access sub menu option to rewind." translateable="false">
Rewind
</message>
<message name="IDS_ASH_SWITCH_ACCESS_MEDIA_PLAY_PAUSE" desc="Switch access sub menu option to play or pause." translateable="false">
Play
</message>
<message name="IDS_ASH_SWITCH_ACCESS_MEDIA_FASTFORWARD" desc="Switch access sub menu option to fastforward." translateable="false">
Fast-forward
</message>
<message name="IDS_ASH_SWITCH_ACCESS_DISPLAY_MENU" desc="Switch access sub menu option for display." translateable="false">
Display
</message>
<message name="IDS_ASH_SWITCH_ACCESS_DISPLAY_MIRROR" desc="Switch access sub menu option to mirror display." translateable="false">
Mirror
</message>
<message name="IDS_ASH_SWITCH_ACCESS_DISPLAY_BRIGHTNESS_DOWN" desc="Switch access sub menu option to turn down brightness." translateable="false">
Brightness down
</message>
<message name="IDS_ASH_SWITCH_ACCESS_DISPLAY_BRIGHTNESS_UP" desc="Switch access sub menu option to turn up brightness." translateable="false">
Brightness up
</message>
<message name="IDS_ASH_SWITCH_ACCESS_DISPLAY_ROTATE" desc="Switch access sub menu option to rotate screen." translateable="false">
Rotate
</message>
<message name="IDS_ASH_SWITCH_ACCESS_DISPLAY_ZOOM_OUT" desc="Switch access sub menu option to zoom out." translateable="false">
Zoom out
</message>
<message name="IDS_ASH_SWITCH_ACCESS_DISPLAY_ZOOM_IN" desc="Switch access sub menu option to zoom in." translateable="false">
Zoom in
</message>
<message name="IDS_ASH_SWITCH_ACCESS_USER_MENU" desc="Switch access sub menu option for user." translateable="false">
User
</message>
<message name="IDS_ASH_SWITCH_ACCESS_USER_LOCK" desc="Switch access sub menu option to lock." translateable="false">
Lock
</message>
<message name="IDS_ASH_SWITCH_ACCESS_USER_PREVIOUS_USER" desc="Switch access sub menu option to go to previous user." translateable="false">
Previous user
</message>
<message name="IDS_ASH_SWITCH_ACCESS_USER_NEXT_USER" desc="Switch access sub menu option to go to next user." translateable="false">
Next user
</message>
<message name="IDS_ASH_SWITCH_ACCESS_USER_SIGN_OUT" desc="Switch access sub menu option to sign out." translateable="false">
Sign out
</message>
<message name="IDS_ASH_SWITCH_ACCESS_ACTION_RECORDER" desc="The label for the Switch Access menu option to open the action recorder menu." translateable="false">
Action recorder
</message>
<message name="IDS_ASH_SWITCH_ACCESS_START_RECORDING" desc="The label for the Switch Access menu option to start recording a macro." translateable="false">
Start recording
</message>
<message name="IDS_ASH_SWITCH_ACCESS_STOP_RECORDING" desc="The label for the Switch Access menu option to stop recording a macro." translateable="false">
Stop recording
</message>
<message name="IDS_ASH_SWITCH_ACCESS_EXECUTE_MACRO" desc="The label for the Switch Access menu option to execute the recorded macro." translateable="false">
Execute macro
</message>
<!-- End of experimental Switch Access feature block -->

<!-- Dictation UI hint strings -->
<message name="IDS_ASH_DICTATION_HINT_TRY_SAYING" desc="A label shown in the Dictation bubble UI telling users what they can say.">
Try saying:
Expand Down
43 changes: 0 additions & 43 deletions ash/resources/vector_icons/BUILD.gn
Expand Up @@ -471,49 +471,6 @@ aggregate_vector_icons("ash_vector_icons") {
"system_menu_cast_meeting.icon",
]
}

# Vector icons used for an experimental Switch Access feature.
sources += [
"switch_access_action_recorder.icon",
"switch_access_display_brightness_down.icon",
"switch_access_display_brightness_up.icon",
"switch_access_display_menu.icon",
"switch_access_display_mirror.icon",
"switch_access_display_rotate.icon",
"switch_access_display_zoom_in.icon",
"switch_access_display_zoom_out.icon",
"switch_access_execute_macro.icon",
"switch_access_leave_group.icon",
"switch_access_media_fastforward.icon",
"switch_access_media_menu.icon",
"switch_access_media_mute.icon",
"switch_access_media_play_pause.icon",
"switch_access_media_rewind.icon",
"switch_access_media_volume_down.icon",
"switch_access_media_volume_up.icon",
"switch_access_quick_commands.icon",
"switch_access_start_recording.icon",
"switch_access_stop_recording.icon",
"switch_access_system_diagnostics.icon",
"switch_access_system_help.icon",
"switch_access_system_launcher.icon",
"switch_access_system_menu.icon",
"switch_access_system_screenshot.icon",
"switch_access_system_status_bar.icon",
"switch_access_system_task_manager.icon",
"switch_access_user_lock.icon",
"switch_access_user_menu.icon",
"switch_access_user_next_user.icon",
"switch_access_user_previous_user.icon",
"switch_access_user_sign_out.icon",
"switch_access_web_bookmark.icon",
"switch_access_web_bottom_of_page.icon",
"switch_access_web_clear_history.icon",
"switch_access_web_downloads.icon",
"switch_access_web_find_in_page.icon",
"switch_access_web_menu.icon",
"switch_access_web_top_of_page.icon",
]
}

source_set("vector_icons") {
Expand Down
20 changes: 0 additions & 20 deletions ash/resources/vector_icons/switch_access_action_recorder.icon

This file was deleted.

This file was deleted.

This file was deleted.

25 changes: 0 additions & 25 deletions ash/resources/vector_icons/switch_access_display_menu.icon

This file was deleted.

37 changes: 0 additions & 37 deletions ash/resources/vector_icons/switch_access_display_mirror.icon

This file was deleted.

0 comments on commit 2a291a2

Please sign in to comment.