| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 | 5 |
| 6 /** | 6 /** |
| 7 * @fileoverview Stores the history of a ChromeVox session. | 7 * @fileoverview Stores the history of a ChromeVox session. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 goog.provide('cvox.History'); | 10 goog.provide('cvox.History'); |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 /** @override */ | 337 /** @override */ |
| 338 cvox.History.prototype.isSpeaking = function() { return false; }; | 338 cvox.History.prototype.isSpeaking = function() { return false; }; |
| 339 /** @override */ | 339 /** @override */ |
| 340 cvox.History.prototype.stop = function() { }; | 340 cvox.History.prototype.stop = function() { }; |
| 341 /** @override */ | 341 /** @override */ |
| 342 cvox.History.prototype.addCapturingEventListener = function(listener) { }; | 342 cvox.History.prototype.addCapturingEventListener = function(listener) { }; |
| 343 /** @override */ | 343 /** @override */ |
| 344 cvox.History.prototype.increaseOrDecreaseProperty = | 344 cvox.History.prototype.increaseOrDecreaseProperty = |
| 345 function(propertyName, increase) { }; | 345 function(propertyName, increase) { }; |
| 346 /** @override */ | 346 /** @override */ |
| 347 cvox.History.prototype.propertyToPercentage = function(property) { }; | |
| 348 /** @override */ | |
| 349 cvox.History.prototype.getDefaultProperty = function(property) { }; | 347 cvox.History.prototype.getDefaultProperty = function(property) { }; |
| 350 | 348 |
| 351 | 349 |
| 352 /** TODO: add doc comment. */ | 350 /** TODO: add doc comment. */ |
| 353 cvox.History.dumpJs = function() { | 351 cvox.History.dumpJs = function() { |
| 354 var history = cvox.History.getInstance(); | 352 var history = cvox.History.getInstance(); |
| 355 history.addBigTextBox_(); | 353 history.addBigTextBox_(); |
| 356 window.console.log(history.dumpJsOutput_()); | 354 window.console.log(history.dumpJsOutput_()); |
| 357 }; | 355 }; |
| 358 | 356 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 | 397 |
| 400 feedbackScript.onload = function() { | 398 feedbackScript.onload = function() { |
| 401 document.body.appendChild(runFeedbackScript); | 399 document.body.appendChild(runFeedbackScript); |
| 402 }; | 400 }; |
| 403 | 401 |
| 404 document.body.appendChild(feedbackScript); | 402 document.body.appendChild(feedbackScript); |
| 405 }; | 403 }; |
| 406 | 404 |
| 407 | 405 |
| 408 // Add more events: key press, DOM | 406 // Add more events: key press, DOM |
| OLD | NEW |