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: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptOutlineDialog.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (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 /* 1 /*
2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2012 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.FilteredListWidget.Delegate} 9 * @extends {WebInspector.FilteredListWidget.Delegate}
10 * @param {!WebInspector.UISourceCode} uiSourceCode 10 * @param {!WebInspector.UISourceCode} uiSourceCode
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 */ 108 */
109 selectItem: function(itemIndex, promptValue) 109 selectItem: function(itemIndex, promptValue)
110 { 110 {
111 if (itemIndex === null) 111 if (itemIndex === null)
112 return; 112 return;
113 var lineNumber = this._functionItems[itemIndex].line; 113 var lineNumber = this._functionItems[itemIndex].line;
114 if (!isNaN(lineNumber) && lineNumber >= 0) 114 if (!isNaN(lineNumber) && lineNumber >= 0)
115 this._selectItemCallback(lineNumber, this._functionItems[itemIndex]. column); 115 this._selectItemCallback(lineNumber, this._functionItems[itemIndex]. column);
116 }, 116 },
117 117
118 /**
119 * @override
120 */
118 dispose: function() 121 dispose: function()
119 { 122 {
120 }, 123 },
121 124
122 __proto__: WebInspector.FilteredListWidget.Delegate.prototype 125 __proto__: WebInspector.FilteredListWidget.Delegate.prototype
123 }; 126 };
124 127
125 /** 128 /**
126 * @typedef {{isLastChunk: boolean, chunk: !Array.<!{selectorText: string, lineN umber: number, columnNumber: number}>}} 129 * @typedef {{isLastChunk: boolean, chunk: !Array.<!{selectorText: string, lineN umber: number, columnNumber: number}>}}
127 */ 130 */
128 WebInspector.JavaScriptOutlineDialog.MessageEventData; 131 WebInspector.JavaScriptOutlineDialog.MessageEventData;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698