OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 'use strict'; | 5 'use strict'; |
6 | 6 |
7 /** | 7 /** |
8 * Test API for Chrome OS Video Player and Audio Player. | 8 * Test API for Chrome OS Video Player and Audio Player. |
9 * | 9 * |
10 * To test the Video Player open a tab with the URL: | 10 * To test the Video Player open a tab with the URL: |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 * @param {string|boolean|number} value Value to send back. | 184 * @param {string|boolean|number} value Value to send back. |
185 * @private | 185 * @private |
186 */ | 186 */ |
187 respond_: function(value) { | 187 respond_: function(value) { |
188 if (window.domAutomationController) | 188 if (window.domAutomationController) |
189 window.domAutomationController.send(value); | 189 window.domAutomationController.send(value); |
190 else | 190 else |
191 console.log('playerTestAPI response: ' + value); | 191 console.log('playerTestAPI response: ' + value); |
192 } | 192 } |
193 }; | 193 }; |
OLD | NEW |