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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js

Issue 2515763003: DevTools: use shorthand syntax in interface definitions. (Closed)
Patch Set: Created 4 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 * @unrestricted 5 * @unrestricted
6 */ 6 */
7 Sources.AdvancedSearchView = class extends UI.VBox { 7 Sources.AdvancedSearchView = class extends UI.VBox {
8 constructor() { 8 constructor() {
9 super(true); 9 super(true);
10 this.setMinimumSize(0, 40); 10 this.setMinimumSize(0, 40);
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 */ 412 */
413 Sources.SearchScope = function() {}; 413 Sources.SearchScope = function() {};
414 414
415 Sources.SearchScope.prototype = { 415 Sources.SearchScope.prototype = {
416 /** 416 /**
417 * @param {!Workspace.SearchConfig} searchConfig 417 * @param {!Workspace.SearchConfig} searchConfig
418 * @param {!Common.Progress} progress 418 * @param {!Common.Progress} progress
419 * @param {function(!Sources.FileBasedSearchResult)} searchResultCallback 419 * @param {function(!Sources.FileBasedSearchResult)} searchResultCallback
420 * @param {function(boolean)} searchFinishedCallback 420 * @param {function(boolean)} searchFinishedCallback
421 */ 421 */
422 performSearch: function(searchConfig, progress, searchResultCallback, searchFi nishedCallback) {}, 422 performSearch(searchConfig, progress, searchResultCallback, searchFinishedCall back) {},
423 423
424 /** 424 /**
425 * @param {!Common.Progress} progress 425 * @param {!Common.Progress} progress
426 */ 426 */
427 performIndexing: function(progress) {}, 427 performIndexing(progress) {},
428 428
429 stopSearch: function() {}, 429 stopSearch() {},
430 430
431 /** 431 /**
432 * @param {!Workspace.ProjectSearchConfig} searchConfig 432 * @param {!Workspace.ProjectSearchConfig} searchConfig
433 * @return {!Sources.SearchResultsPane} 433 * @return {!Sources.SearchResultsPane}
434 */ 434 */
435 createSearchResultsPane: function(searchConfig) {} 435 createSearchResultsPane(searchConfig) {}
436 }; 436 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698