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

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

Issue 2617633004: Fix AccessibilityExtensionLoader's handling of locked screen (Closed)
Patch Set: Test removals. Created 3 years, 11 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/background/background.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
index b1f96568adefb43fa50001d7eaf87e2d2f88473a..8c0c9d5038661c83cafecf629a86644f5abba24d 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
@@ -88,12 +88,6 @@ Background = function() {
*/
this.currentRange_ = null;
- /**
- * @type {cursors.Range}
- * @private
- */
- this.savedRange_ = null;
-
// Manually bind all functions to |this|.
for (var func in this) {
if (typeof(this[func]) == 'function')
@@ -156,9 +150,6 @@ Background = function() {
/** @type {!LiveRegions} @private */
this.liveRegions_ = new LiveRegions(this);
- /** @type {boolean} @private */
- this.inExcursion_ = false;
-
/**
* Stores the mode as computed the last time a current range was set.
* @type {?ChromeVoxMode}
@@ -397,9 +388,6 @@ Background.prototype = {
* @override
*/
setCurrentRange: function(newRange) {
- if (!this.inExcursion_ && newRange)
- this.savedRange_ = new cursors.Range(newRange.start, newRange.end);
-
if (newRange && !newRange.isValid())
return;

Powered by Google App Engine
This is Rietveld 408576698