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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/StackView.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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 10 *
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 } else { 57 } else {
58 this._currentSplitWidget.setSidebarWidget(splitWidget); 58 this._currentSplitWidget.setSidebarWidget(splitWidget);
59 this._currentSplitWidget.showBoth(); 59 this._currentSplitWidget.showBoth();
60 } 60 }
61 61
62 var lastSplitWidget = this._currentSplitWidget; 62 var lastSplitWidget = this._currentSplitWidget;
63 this._currentSplitWidget = splitWidget; 63 this._currentSplitWidget = splitWidget;
64 return lastSplitWidget; 64 return lastSplitWidget;
65 }, 65 },
66 66
67 /**
68 * @override
69 */
67 detachChildWidgets: function() 70 detachChildWidgets: function()
68 { 71 {
69 WebInspector.Widget.prototype.detachChildWidgets.call(this); 72 super.detachChildWidgets(this);
dgozman 2016/11/01 00:04:07 remove this.
70 this._currentSplitWidget = null; 73 this._currentSplitWidget = null;
71 }, 74 },
72 75
73 __proto__: WebInspector.VBox.prototype 76 __proto__: WebInspector.VBox.prototype
74 }; 77 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698