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

Side by Side 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: Devlin's requests 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 unified diff | Download patch
OLDNEW
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 cr.define('options', function() { 5 cr.define('options', function() {
6 /** @const */ var OptionsPage = options.OptionsPage; 6 /** @const */ var OptionsPage = options.OptionsPage;
7 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel; 7 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel;
8 8
9 /** 9 /**
10 * Encapsulated handling of search engine management page. 10 * Encapsulated handling of search engine management page.
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 keywords); 111 keywords);
112 }; 112 };
113 113
114 SearchEngineManager.validityCheckCallback = function(validity, modelIndex) { 114 SearchEngineManager.validityCheckCallback = function(validity, modelIndex) {
115 // Forward to both lists; the one without a matching modelIndex will ignore 115 // Forward to both lists; the one without a matching modelIndex will ignore
116 // it. 116 // it.
117 SearchEngineManager.getInstance().defaultsList_.validationComplete( 117 SearchEngineManager.getInstance().defaultsList_.validationComplete(
118 validity, modelIndex); 118 validity, modelIndex);
119 SearchEngineManager.getInstance().othersList_.validationComplete( 119 SearchEngineManager.getInstance().othersList_.validationComplete(
120 validity, modelIndex); 120 validity, modelIndex);
121 SearchEngineManager.getInstance().extensionList_.validationComplete(
Dan Beam 2013/05/30 22:13:57 uh... why are we call through to private propertie
Aaron Jacobs 2013/05/31 03:07:24 Done.
122 validity, modelIndex);
121 }; 123 };
122 124
123 // Export 125 // Export
124 return { 126 return {
125 SearchEngineManager: SearchEngineManager 127 SearchEngineManager: SearchEngineManager
126 }; 128 };
127 129
128 }); 130 });
129 131
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698