| Index: chrome/browser/resources/chromeos/chromevox/cvox2/injected/keyboard_handler.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/injected/keyboard_handler.js b/chrome/browser/resources/chromeos/chromevox/cvox2/injected/keyboard_handler.js
|
| index baf8ea07f46ecb4fc77fa54297c4e0b48d3d3d03..6caf89a3e23e26fcca899b87e96fd1b1cb65c061 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/injected/keyboard_handler.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/injected/keyboard_handler.js
|
| @@ -28,10 +28,7 @@ KeyboardHandler = function() {
|
| });
|
|
|
| // Make the initial request for prefs.
|
| - cvox.ExtensionBridge.send({
|
| - 'target': 'Prefs',
|
| - 'action': 'getPrefs'
|
| - });
|
| + cvox.ExtensionBridge.send({'target': 'Prefs', 'action': 'getPrefs'});
|
| };
|
|
|
| KeyboardHandler.prototype = {
|
| @@ -40,10 +37,8 @@ KeyboardHandler.prototype = {
|
| * @private
|
| */
|
| handleKeyDown_: function(evt) {
|
| - cvox.ExtensionBridge.send({
|
| - 'target': 'next',
|
| - 'action': 'flushNextUtterance'
|
| - });
|
| + cvox.ExtensionBridge.send(
|
| + {'target': 'next', 'action': 'flushNextUtterance'});
|
|
|
| evt.stickyMode = cvox.ChromeVox.isStickyPrefOn;
|
|
|
| @@ -55,10 +50,7 @@ KeyboardHandler.prototype = {
|
| * @private
|
| */
|
| handleCommand_: function(command) {
|
| - cvox.ExtensionBridge.send({
|
| - 'target': 'next',
|
| - 'action': 'onCommand',
|
| - 'command': command
|
| - });
|
| + cvox.ExtensionBridge.send(
|
| + {'target': 'next', 'action': 'onCommand', 'command': command});
|
| }
|
| };
|
|
|