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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/components/DataSaverInfobar.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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.Infobar} 7 * @extends {WebInspector.Infobar}
8 */ 8 */
9 WebInspector.DataSaverInfobar = function() 9 WebInspector.DataSaverInfobar = function()
10 { 10 {
(...skipping 18 matching lines...) Expand all
29 } 29 }
30 }; 30 };
31 31
32 WebInspector.DataSaverInfobar.prototype = { 32 WebInspector.DataSaverInfobar.prototype = {
33 /** 33 /**
34 * @override 34 * @override
35 */ 35 */
36 dispose: function() 36 dispose: function()
37 { 37 {
38 for (var infobar of WebInspector.DataSaverInfobar._infobars) 38 for (var infobar of WebInspector.DataSaverInfobar._infobars)
39 WebInspector.Infobar.prototype.dispose.call(infobar); 39 WebInspector.Infobar.prototype.dispose.call(this, infobar);
40 }, 40 },
41 41
42 __proto__: WebInspector.Infobar.prototype 42 __proto__: WebInspector.Infobar.prototype
43 }; 43 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698