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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/settings/FrameworkBlackboxSettingsTab.js

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline 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 /* 1 /*
2 * Copyright 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /** 7 /**
8 * @constructor 8 * @constructor
9 * @extends {WebInspector.VBox} 9 * @extends {WebInspector.VBox}
10 * @implements {WebInspector.ListWidget.Delegate} 10 * @implements {WebInspector.ListWidget.Delegate}
(...skipping 18 matching lines...) Expand all
29 this._list.setEmptyPlaceholder(placeholder); 29 this._list.setEmptyPlaceholder(placeholder);
30 this._list.show(this.contentElement); 30 this._list.show(this.contentElement);
31 var addPatternButton = createTextButton(WebInspector.UIString("Add pattern.. ."), this._addButtonClicked.bind(this), "add-button"); 31 var addPatternButton = createTextButton(WebInspector.UIString("Add pattern.. ."), this._addButtonClicked.bind(this), "add-button");
32 this.contentElement.appendChild(addPatternButton); 32 this.contentElement.appendChild(addPatternButton);
33 33
34 this._setting = WebInspector.moduleSetting("skipStackFramesPattern"); 34 this._setting = WebInspector.moduleSetting("skipStackFramesPattern");
35 this._setting.addChangeListener(this._settingUpdated, this); 35 this._setting.addChangeListener(this._settingUpdated, this);
36 36
37 this.setDefaultFocusedElement(addPatternButton); 37 this.setDefaultFocusedElement(addPatternButton);
38 this.contentElement.tabIndex = 0; 38 this.contentElement.tabIndex = 0;
39 } 39 };
40 40
41 WebInspector.FrameworkBlackboxSettingsTab.prototype = { 41 WebInspector.FrameworkBlackboxSettingsTab.prototype = {
42 wasShown: function() 42 wasShown: function()
43 { 43 {
44 WebInspector.SettingsTab.prototype.wasShown.call(this); 44 WebInspector.SettingsTab.prototype.wasShown.call(this);
45 this._settingUpdated(); 45 this._settingUpdated();
46 }, 46 },
47 47
48 _settingUpdated: function() 48 _settingUpdated: function()
49 { 49 {
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 * @param {!HTMLInputElement|!HTMLSelectElement} input 173 * @param {!HTMLInputElement|!HTMLSelectElement} input
174 * @return {boolean} 174 * @return {boolean}
175 */ 175 */
176 function behaviorValidator(item, index, input) 176 function behaviorValidator(item, index, input)
177 { 177 {
178 return true; 178 return true;
179 } 179 }
180 }, 180 },
181 181
182 __proto__: WebInspector.VBox.prototype 182 __proto__: WebInspector.VBox.prototype
183 } 183 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698