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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/injected/keyboard_handler.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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});
}
};

Powered by Google App Engine
This is Rietveld 408576698