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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.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 (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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.ElementsSidebarPane = function() 9 WebInspector.ElementsSidebarPane = function()
10 { 10 {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 /** 53 /**
54 * @return {!Promise.<?>} 54 * @return {!Promise.<?>}
55 * @this {WebInspector.ElementsSidebarPane} 55 * @this {WebInspector.ElementsSidebarPane}
56 */ 56 */
57 function innerUpdate() 57 function innerUpdate()
58 { 58 {
59 return this.isShowing() ? this.doUpdate() : Promise.resolve(); 59 return this.isShowing() ? this.doUpdate() : Promise.resolve();
60 } 60 }
61 }, 61 },
62 62
63 /**
64 * @override
65 */
63 wasShown: function() 66 wasShown: function()
64 { 67 {
65 WebInspector.VBox.prototype.wasShown.call(this); 68 WebInspector.VBox.prototype.wasShown.call(this);
66 if (this._updateWhenVisible) 69 if (this._updateWhenVisible)
67 this.update(); 70 this.update();
68 }, 71 },
69 72
70 /** 73 /**
71 * @param {!WebInspector.Event} event 74 * @param {!WebInspector.Event} event
72 */ 75 */
73 onCSSModelChanged: function(event) { }, 76 onCSSModelChanged: function(event) { },
74 77
75 __proto__: WebInspector.VBox.prototype 78 __proto__: WebInspector.VBox.prototype
76 }; 79 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698