summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_browser_chromeos.gypi
diff options
context:
space:
mode:
authordtseng <dtseng@chromium.org>2015-06-24 13:51:13 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-24 20:52:44 +0000
commita97769b865c7a511229d2eee04051d59200bf1b3 (patch)
tree2a067727add87257f341994e74cebdca37722b5d /chrome/chrome_browser_chromeos.gypi
parent7bdb996eb0b9bdd9338b3d95fdaca4562b6528e1 (diff)
downloadchromium_src-a97769b865c7a511229d2eee04051d59200bf1b3.zip
chromium_src-a97769b865c7a511229d2eee04051d59200bf1b3.tar.gz
chromium_src-a97769b865c7a511229d2eee04051d59200bf1b3.tar.bz2
Proposed alternative for supporting ChromeVox keyboard commands.
ChromeVox, a component extension, has some special use cases not currently supported by the chrome.commands API. Over the past year or so, it has become more clear that these special use cases mean non-trivial changes to the commands API. These changes have also uncovered some bugs due to (a) component extension events and (b) prefs. This is a proposed simple alternative which still utilizes the same manifest format as the commands API and the same extension listener, but performs its own dispatch. It also need not register accelerators in advance as it hooks into keyboard events via EventRewriter. This solution has some advantages. It means that we can swap the format and use keys not allowed by the commands API. Also, we can implement more features such as sequencing, or sticky key natively. Some disadvantages are it will interfere with Chrome OS sticky keys and is Chrome OS specific. TEST=ensure chrome.commands.onCommand gets called with appropriate command name when keys are struck on OOBE, locked screen, login screen, and logged in. Review URL: https://codereview.chromium.org/1185753008 Cr-Commit-Position: refs/heads/master@{#335997}
Diffstat (limited to 'chrome/chrome_browser_chromeos.gypi')
-rw-r--r--chrome/chrome_browser_chromeos.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/chrome_browser_chromeos.gypi b/chrome/chrome_browser_chromeos.gypi
index 924a2c5..51996a4 100644
--- a/chrome/chrome_browser_chromeos.gypi
+++ b/chrome/chrome_browser_chromeos.gypi
@@ -15,6 +15,8 @@
'browser/chromeos/accessibility/accessibility_util.h',
'browser/chromeos/accessibility/magnification_manager.cc',
'browser/chromeos/accessibility/magnification_manager.h',
+ 'browser/chromeos/accessibility/spoken_feedback_event_rewriter.cc',
+ 'browser/chromeos/accessibility/spoken_feedback_event_rewriter.h',
'browser/chromeos/app_mode/app_launch_utils.cc',
'browser/chromeos/app_mode/app_launch_utils.h',
'browser/chromeos/app_mode/app_session_lifetime.cc',