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

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

Issue 1088093002: Revert of DevTools: allow storing devtools preferences on the browser side. [blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 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 29 matching lines...) Expand all
40 this._searchPanelElement.appendChild(this._regexLabel); 40 this._searchPanelElement.appendChild(this._regexLabel);
41 this._regexCheckbox = this._regexLabel.checkboxElement; 41 this._regexCheckbox = this._regexLabel.checkboxElement;
42 this._regexCheckbox.classList.add("search-config-checkbox"); 42 this._regexCheckbox.classList.add("search-config-checkbox");
43 43
44 this._searchStatusBarElement = this.contentElement.createChild("div", "searc h-status-bar-summary"); 44 this._searchStatusBarElement = this.contentElement.createChild("div", "searc h-status-bar-summary");
45 this._searchMessageElement = this._searchStatusBarElement.createChild("div", "search-message"); 45 this._searchMessageElement = this._searchStatusBarElement.createChild("div", "search-message");
46 this._searchProgressPlaceholderElement = this._searchStatusBarElement.create Child("div", "flex-centered"); 46 this._searchProgressPlaceholderElement = this._searchStatusBarElement.create Child("div", "flex-centered");
47 this._searchStatusBarElement.createChild("div", "search-message-spacer"); 47 this._searchStatusBarElement.createChild("div", "search-message-spacer");
48 this._searchResultsMessageElement = this._searchStatusBarElement.createChild ("div", "search-message"); 48 this._searchResultsMessageElement = this._searchStatusBarElement.createChild ("div", "search-message");
49 49
50 this._advancedSearchConfig = WebInspector.settings.createLocalSetting("advan cedSearchConfig", new WebInspector.SearchConfig("", true, false).toPlainObject() ); 50 this._advancedSearchConfig = WebInspector.settings.createSetting("advancedSe archConfig", new WebInspector.SearchConfig("", true, false).toPlainObject());
51 this._load(); 51 this._load();
52 WebInspector.AdvancedSearchView._instance = this; 52 WebInspector.AdvancedSearchView._instance = this;
53 /** @type {!WebInspector.SearchScope} */ 53 /** @type {!WebInspector.SearchScope} */
54 this._searchScope = new WebInspector.SourcesSearchScope(); 54 this._searchScope = new WebInspector.SourcesSearchScope();
55 if (WebInspector.AdvancedSearchView._pendingQuery !== undefined) { 55 if (WebInspector.AdvancedSearchView._pendingQuery !== undefined) {
56 this._toggle(WebInspector.AdvancedSearchView._pendingQuery); 56 this._toggle(WebInspector.AdvancedSearchView._pendingQuery);
57 delete WebInspector.AdvancedSearchView._pendingQuery; 57 delete WebInspector.AdvancedSearchView._pendingQuery;
58 } 58 }
59 } 59 }
60 60
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 performIndexing: function(progress, callback) { }, 411 performIndexing: function(progress, callback) { },
412 412
413 stopSearch: function() { }, 413 stopSearch: function() { },
414 414
415 /** 415 /**
416 * @param {!WebInspector.ProjectSearchConfig} searchConfig 416 * @param {!WebInspector.ProjectSearchConfig} searchConfig
417 * @return {!WebInspector.SearchResultsPane} 417 * @return {!WebInspector.SearchResultsPane}
418 */ 418 */
419 createSearchResultsPane: function(searchConfig) { } 419 createSearchResultsPane: function(searchConfig) { }
420 } 420 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698