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

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

Issue 1113813002: [DevTools] Rename View to Widget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 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 | 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 return; 123 return;
124 this._expanded = false; 124 this._expanded = false;
125 this.element.classList.remove("expanded"); 125 this.element.classList.remove("expanded");
126 }, 126 },
127 127
128 /** 128 /**
129 * @param {string} cssFile 129 * @param {string} cssFile
130 */ 130 */
131 registerRequiredCSS: function(cssFile) 131 registerRequiredCSS: function(cssFile)
132 { 132 {
133 this.element.insertBefore(WebInspector.View.createStyleElement(cssFile), this.headerElement); 133 this.element.insertBefore(WebInspector.Widget.createStyleElement(cssFile ), this.headerElement);
134 }, 134 },
135 135
136 /** 136 /**
137 * @param {!Event} event 137 * @param {!Event} event
138 * @protected 138 * @protected
139 */ 139 */
140 handleClick: function(event) 140 handleClick: function(event)
141 { 141 {
142 if (this._doNotExpandOnTitleClick) 142 if (this._doNotExpandOnTitleClick)
143 return; 143 return;
(...skipping 27 matching lines...) Expand all
171 this.propertiesElement.classList.add("properties", "properties-tree", "monos pace"); 171 this.propertiesElement.classList.add("properties", "properties-tree", "monos pace");
172 this.propertiesTreeOutline.setFocusable(false); 172 this.propertiesTreeOutline.setFocusable(false);
173 this.propertiesTreeOutline.section = this; 173 this.propertiesTreeOutline.section = this;
174 174
175 this.element.appendChild(this.propertiesElement); 175 this.element.appendChild(this.propertiesElement);
176 } 176 }
177 177
178 WebInspector.PropertiesSection.prototype = { 178 WebInspector.PropertiesSection.prototype = {
179 __proto__: WebInspector.Section.prototype 179 __proto__: WebInspector.Section.prototype
180 } 180 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ui/SearchableView.js ('k') | Source/devtools/front_end/ui/SidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698