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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/Panel.js

Issue 2895733002: DevTools: remove unused UI related code (Closed)
Patch Set: Created 3 years, 7 months 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) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 /** 100 /**
101 * @param {!UI.Infobar} infobar 101 * @param {!UI.Infobar} infobar
102 */ 102 */
103 _onInfobarClosed(infobar) { 103 _onInfobarClosed(infobar) {
104 infobar.element.remove(); 104 infobar.element.remove();
105 this.doResize(); 105 this.doResize();
106 } 106 }
107 }; 107 };
108 108
109 // Should by in sync with style declarations.
110 UI.Panel.counterRightMargin = 25;
luoe 2017/05/22 17:50:48 Added: https://chromium.googlesource.com/chromium
111
112 /** 109 /**
113 * @unrestricted 110 * @unrestricted
114 */ 111 */
115 UI.PanelWithSidebar = class extends UI.Panel { 112 UI.PanelWithSidebar = class extends UI.Panel {
116 /** 113 /**
117 * @param {string} name 114 * @param {string} name
118 * @param {number=} defaultWidth 115 * @param {number=} defaultWidth
119 */ 116 */
120 constructor(name, defaultWidth) { 117 constructor(name, defaultWidth) {
121 super(name); 118 super(name);
(...skipping 26 matching lines...) Expand all
148 return this._mainWidget.element; 145 return this._mainWidget.element;
149 } 146 }
150 147
151 /** 148 /**
152 * @return {!UI.SplitWidget} 149 * @return {!UI.SplitWidget}
153 */ 150 */
154 splitWidget() { 151 splitWidget() {
155 return this._panelSplitWidget; 152 return this._panelSplitWidget;
156 } 153 }
157 }; 154 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698