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

Side by Side Diff: chrome/browser/resources/settings/search_engines_page/search_engines_browser_proxy.js

Issue 2529543002: MD Settings: indicate extension controlled search engines (Closed)
Patch Set: self-review Created 4 years 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 * @fileoverview A helper object used from the "Manage search engines" section 6 * @fileoverview A helper object used from the "Manage search engines" section
7 * to interact with the browser. 7 * to interact with the browser.
8 */ 8 */
9 9
10 /** 10 /**
11 * @typedef {{canBeDefault: boolean, 11 * @typedef {{canBeDefault: boolean,
12 * canBeEdited: boolean, 12 * canBeEdited: boolean,
13 * canBeRemoved: boolean, 13 * canBeRemoved: boolean,
14 * default: boolean, 14 * default: boolean,
15 * displayName: string, 15 * displayName: string,
16 * extension: (Object|undefined), 16 * extension: ({id: string,
17 * name: string,
18 * canBeDisabled: boolean,
19 * icon: string}|undefined),
17 * iconURL: (string|undefined), 20 * iconURL: (string|undefined),
18 * isOmniboxExtension: boolean, 21 * isOmniboxExtension: boolean,
19 * keyword: string, 22 * keyword: string,
20 * modelIndex: number, 23 * modelIndex: number,
21 * name: string, 24 * name: string,
22 * url: string, 25 * url: string,
23 * urlLocked: boolean}} 26 * urlLocked: boolean}}
24 * @see chrome/browser/ui/webui/settings/search_engine_manager_handler.cc 27 * @see chrome/browser/ui/webui/settings/search_engine_manager_handler.cc
25 */ 28 */
26 var SearchEngine; 29 var SearchEngine;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 return cr.sendWithPromise( 120 return cr.sendWithPromise(
118 'validateSearchEngineInput', fieldName, fieldValue); 121 'validateSearchEngineInput', fieldName, fieldValue);
119 }, 122 },
120 }; 123 };
121 124
122 return { 125 return {
123 SearchEnginesBrowserProxy: SearchEnginesBrowserProxy, 126 SearchEnginesBrowserProxy: SearchEnginesBrowserProxy,
124 SearchEnginesBrowserProxyImpl: SearchEnginesBrowserProxyImpl, 127 SearchEnginesBrowserProxyImpl: SearchEnginesBrowserProxyImpl,
125 }; 128 };
126 }); 129 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698