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

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

Issue 2946563002: Run clang-format on .js files in c/b/r/settings (Closed)
Patch Set: dschuyler@ review Created 3 years, 6 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 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 /**
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 }, 118 },
119 119
120 /** @override */ 120 /** @override */
121 searchEngineEditCancelled: function() { 121 searchEngineEditCancelled: function() {
122 chrome.send('searchEngineEditCancelled'); 122 chrome.send('searchEngineEditCancelled');
123 }, 123 },
124 124
125 /** @override */ 125 /** @override */
126 searchEngineEditCompleted: function(searchEngine, keyword, queryUrl) { 126 searchEngineEditCompleted: function(searchEngine, keyword, queryUrl) {
127 chrome.send('searchEngineEditCompleted', [ 127 chrome.send('searchEngineEditCompleted', [
128 searchEngine, keyword, queryUrl, 128 searchEngine,
129 keyword,
130 queryUrl,
129 ]); 131 ]);
130 }, 132 },
131 133
132 /** @override */ 134 /** @override */
133 getSearchEnginesList: function() { 135 getSearchEnginesList: function() {
134 return cr.sendWithPromise('getSearchEnginesList'); 136 return cr.sendWithPromise('getSearchEnginesList');
135 }, 137 },
136 138
137 /** @override */ 139 /** @override */
138 validateSearchEngineInput: function(fieldName, fieldValue) { 140 validateSearchEngineInput: function(fieldName, fieldValue) {
(...skipping 15 matching lines...) Expand all
154 getGoogleNowAvailability: function() { 156 getGoogleNowAvailability: function() {
155 return cr.sendWithPromise('getGoogleNowAvailability'); 157 return cr.sendWithPromise('getGoogleNowAvailability');
156 }, 158 },
157 }; 159 };
158 160
159 return { 161 return {
160 SearchEnginesBrowserProxy: SearchEnginesBrowserProxy, 162 SearchEnginesBrowserProxy: SearchEnginesBrowserProxy,
161 SearchEnginesBrowserProxyImpl: SearchEnginesBrowserProxyImpl, 163 SearchEnginesBrowserProxyImpl: SearchEnginesBrowserProxyImpl,
162 }; 164 };
163 }); 165 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698