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

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

Issue 2650733002: Revert of Update json_schema_compiler to handle the Automation extension API (Closed)
Patch Set: 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/find_handler.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/find_handler.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/find_handler.js
index af0aa2a938b94494490dddf0dd71ceef335e783e..5aa0a7c1dfad5ce532f786677f369b9cd3935a10 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/find_handler.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/find_handler.js
@@ -7,9 +7,6 @@
goog.provide('FindHandler');
goog.require('Output');
-
-goog.scope(function() {
-var TreeChangeObserverFilter = chrome.automation.TreeChangeObserverFilter;
/**
* Responds to mode changes.
@@ -30,7 +27,7 @@
*/
FindHandler.init_ = function() {
chrome.automation.addTreeChangeObserver(
- TreeChangeObserverFilter.NO_TREE_CHANGES, FindHandler.onTextMatch_);
+ 'textMarkerChanges', FindHandler.onTextMatch_);
};
/**
@@ -57,5 +54,3 @@
.withRichSpeechAndBraille(range, null, Output.EventType.NAVIGATE)
.go();
};
-
-}); // goog.scope

Powered by Google App Engine
This is Rietveld 408576698