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

Side by Side Diff: Source/devtools/front_end/elements/StylesSidebarPane.js

Issue 1262063003: Devtools UI: Remove redundant tooltips (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 Joseph Pecoraro 3 * Copyright (C) 2009 Joseph Pecoraro
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 2242 matching lines...) Expand 10 before | Expand all | Expand 10 after
2253 this._expandElement.className = "expand-element"; 2253 this._expandElement.className = "expand-element";
2254 2254
2255 var propertyRenderer = new WebInspector.StylesSidebarPropertyRenderer(th is._styleRule.rule(), this.node(), this.name, this.value); 2255 var propertyRenderer = new WebInspector.StylesSidebarPropertyRenderer(th is._styleRule.rule(), this.node(), this.name, this.value);
2256 if (this.property.parsedOk) { 2256 if (this.property.parsedOk) {
2257 propertyRenderer.setColorHandler(this._processColor.bind(this)); 2257 propertyRenderer.setColorHandler(this._processColor.bind(this));
2258 propertyRenderer.setBezierHandler(this._processBezier.bind(this)); 2258 propertyRenderer.setBezierHandler(this._processBezier.bind(this));
2259 } 2259 }
2260 2260
2261 this.listItemElement.removeChildren(); 2261 this.listItemElement.removeChildren();
2262 this.nameElement = propertyRenderer.renderName(); 2262 this.nameElement = propertyRenderer.renderName();
2263 this.nameElement.title = this.property.propertyText;
2264 this.valueElement = propertyRenderer.renderValue(); 2263 this.valueElement = propertyRenderer.renderValue();
2265 if (!this.treeOutline) 2264 if (!this.treeOutline)
2266 return; 2265 return;
2267 2266
2268 var indent = WebInspector.moduleSetting("textEditorIndent").get(); 2267 var indent = WebInspector.moduleSetting("textEditorIndent").get();
2269 this.listItemElement.createChild("span", "styles-clipboard-only").create TextChild(indent + (this.property.disabled ? "/* " : "")); 2268 this.listItemElement.createChild("span", "styles-clipboard-only").create TextChild(indent + (this.property.disabled ? "/* " : ""));
2270 this.listItemElement.appendChild(this.nameElement); 2269 this.listItemElement.appendChild(this.nameElement);
2271 this.listItemElement.createTextChild(": "); 2270 this.listItemElement.createTextChild(": ");
2272 this.listItemElement.appendChild(this._expandElement); 2271 this.listItemElement.appendChild(this._expandElement);
2273 this.listItemElement.appendChild(this.valueElement); 2272 this.listItemElement.appendChild(this.valueElement);
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
3226 3225
3227 /** 3226 /**
3228 * @override 3227 * @override
3229 * @return {?WebInspector.ToolbarItem} 3228 * @return {?WebInspector.ToolbarItem}
3230 */ 3229 */
3231 item: function() 3230 item: function()
3232 { 3231 {
3233 return this._button; 3232 return this._button;
3234 } 3233 }
3235 } 3234 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698