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

Unified Diff: chrome/browser/resources/options/search_engine_manager.js

Issue 15805002: Modify extension omnibox keywords to be user-configurable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test updates Created 7 years, 7 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/options/search_engine_manager.js
diff --git a/chrome/browser/resources/options/search_engine_manager.js b/chrome/browser/resources/options/search_engine_manager.js
index dc5cf25179fc4c18c7f1b0eed2fc0c2dfc663a46..7d8df03c1aea5d5f1aa8e7b53e842b33b5bedde0 100644
--- a/chrome/browser/resources/options/search_engine_manager.js
+++ b/chrome/browser/resources/options/search_engine_manager.js
@@ -37,7 +37,8 @@ cr.define('options', function() {
/**
* List for extension keywords.
* @private
- extensionList_ : null,
+ */
+ extensionList_: null,
/** inheritDoc */
initializePage: function() {
@@ -112,12 +113,13 @@ cr.define('options', function() {
};
SearchEngineManager.validityCheckCallback = function(validity, modelIndex) {
- // Forward to both lists; the one without a matching modelIndex will ignore
- // it.
+ // Forward to all lists; those without a matching modelIndex will ignore it.
SearchEngineManager.getInstance().defaultsList_.validationComplete(
validity, modelIndex);
SearchEngineManager.getInstance().othersList_.validationComplete(
validity, modelIndex);
+ SearchEngineManager.getInstance().extensionList_.validationComplete(
+ validity, modelIndex);
};
// Export

Powered by Google App Engine
This is Rietveld 408576698