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

Side by Side Diff: Source/devtools/front_end/ui/Section.js

Issue 714423005: DevTools: move front-end files from components to ui. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comment addressed Created 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 { 211 {
212 this.expanded = !this.expanded; 212 this.expanded = !this.expanded;
213 }, 213 },
214 214
215 handleClick: function(event) 215 handleClick: function(event)
216 { 216 {
217 this.toggleExpanded(); 217 this.toggleExpanded();
218 event.consume(); 218 event.consume();
219 } 219 }
220 } 220 }
221
222 /**
223 * @constructor
224 * @extends {WebInspector.Section}
225 * @param {string|!Element} title
226 * @param {string=} subtitle
227 */
228 WebInspector.PropertiesSection = function(title, subtitle)
229 {
230 WebInspector.Section.call(this, title, subtitle);
231
232 this.headerElement.classList.add("monospace");
233 this.propertiesElement = createElement("ol");
234 this.propertiesElement.className = "properties properties-tree monospace";
235 this.propertiesTreeOutline = new TreeOutline(this.propertiesElement, true);
236 this.propertiesTreeOutline.setFocusable(false);
237 this.propertiesTreeOutline.section = this;
238
239 this.element.appendChild(this.propertiesElement);
240 }
241
242 WebInspector.PropertiesSection.prototype = {
243 __proto__: WebInspector.Section.prototype
244 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ui/SearchableView.js ('k') | Source/devtools/front_end/ui/TimelineGrid.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698