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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/terminal/TerminalWidget.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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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.TerminalWidget = function() 9 WebInspector.TerminalWidget = function()
10 { 10 {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 _mouseMove: function() 69 _mouseMove: function()
70 { 70 {
71 if (this._linkifyUpToDate) 71 if (this._linkifyUpToDate)
72 return; 72 return;
73 if (this._term) 73 if (this._term)
74 this._linkify(); 74 this._linkify();
75 this._linkifyUpToDate = true; 75 this._linkifyUpToDate = true;
76 }, 76 },
77 77
78 /**
79 * @override
80 */
78 onResize: function() 81 onResize: function()
79 { 82 {
80 if (this._term) 83 if (this._term)
81 this._term.fit(); 84 this._term.fit();
82 }, 85 },
83 86
84 _disposed: function() 87 _disposed: function()
85 { 88 {
86 this._initialized(null); 89 this._initialized(null);
87 }, 90 },
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 * @param {number=} lineNumber 133 * @param {number=} lineNumber
131 * @param {number=} columnNumber 134 * @param {number=} columnNumber
132 */ 135 */
133 _linkifyURL: function(title, url, lineNumber, columnNumber) 136 _linkifyURL: function(title, url, lineNumber, columnNumber)
134 { 137 {
135 return this._linkifier.linkifyScriptLocation(null, null, url, lineNumber || 0, columnNumber || 0); 138 return this._linkifier.linkifyScriptLocation(null, null, url, lineNumber || 0, columnNumber || 0);
136 }, 139 },
137 140
138 __proto__: WebInspector.VBox.prototype 141 __proto__: WebInspector.VBox.prototype
139 }; 142 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698