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

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

Issue 662793002: [DevTools] Replace usages of document with custom functions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
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 /** 5 /**
6 * @constructor 6 * @constructor
7 * @extends {WebInspector.VBox} 7 * @extends {WebInspector.VBox}
8 */ 8 */
9 WebInspector.AdvancedSearchView = function() 9 WebInspector.AdvancedSearchView = function()
10 { 10 {
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 __proto__: WebInspector.VBox.prototype 318 __proto__: WebInspector.VBox.prototype
319 } 319 }
320 320
321 /** 321 /**
322 * @constructor 322 * @constructor
323 * @param {!WebInspector.ProjectSearchConfig} searchConfig 323 * @param {!WebInspector.ProjectSearchConfig} searchConfig
324 */ 324 */
325 WebInspector.SearchResultsPane = function(searchConfig) 325 WebInspector.SearchResultsPane = function(searchConfig)
326 { 326 {
327 this._searchConfig = searchConfig; 327 this._searchConfig = searchConfig;
328 this.element = document.createElement("div"); 328 this.element = createElement("div");
329 } 329 }
330 330
331 WebInspector.SearchResultsPane.prototype = { 331 WebInspector.SearchResultsPane.prototype = {
332 /** 332 /**
333 * @return {!WebInspector.ProjectSearchConfig} 333 * @return {!WebInspector.ProjectSearchConfig}
334 */ 334 */
335 get searchConfig() 335 get searchConfig()
336 { 336 {
337 return this._searchConfig; 337 return this._searchConfig;
338 }, 338 },
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 performIndexing: function(progress, callback) { }, 410 performIndexing: function(progress, callback) { },
411 411
412 stopSearch: function() { }, 412 stopSearch: function() { },
413 413
414 /** 414 /**
415 * @param {!WebInspector.ProjectSearchConfig} searchConfig 415 * @param {!WebInspector.ProjectSearchConfig} searchConfig
416 * @return {!WebInspector.SearchResultsPane} 416 * @return {!WebInspector.SearchResultsPane}
417 */ 417 */
418 createSearchResultsPane: function(searchConfig) { } 418 createSearchResultsPane: function(searchConfig) { }
419 } 419 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698