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

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, 3 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 2205 matching lines...) Expand 10 before | Expand all | Expand 10 after
2216 this._expandElement.className = "expand-element"; 2216 this._expandElement.className = "expand-element";
2217 2217
2218 var propertyRenderer = new WebInspector.StylesSidebarPropertyRenderer(th is._styleRule.rule(), this.node(), this.name, this.value); 2218 var propertyRenderer = new WebInspector.StylesSidebarPropertyRenderer(th is._styleRule.rule(), this.node(), this.name, this.value);
2219 if (this.property.parsedOk) { 2219 if (this.property.parsedOk) {
2220 propertyRenderer.setColorHandler(this._processColor.bind(this)); 2220 propertyRenderer.setColorHandler(this._processColor.bind(this));
2221 propertyRenderer.setBezierHandler(this._processBezier.bind(this)); 2221 propertyRenderer.setBezierHandler(this._processBezier.bind(this));
2222 } 2222 }
2223 2223
2224 this.listItemElement.removeChildren(); 2224 this.listItemElement.removeChildren();
2225 this.nameElement = propertyRenderer.renderName(); 2225 this.nameElement = propertyRenderer.renderName();
2226 this.nameElement.title = this.property.propertyText;
2227 this.valueElement = propertyRenderer.renderValue(); 2226 this.valueElement = propertyRenderer.renderValue();
2228 if (!this.treeOutline) 2227 if (!this.treeOutline)
2229 return; 2228 return;
2230 2229
2231 var indent = WebInspector.moduleSetting("textEditorIndent").get(); 2230 var indent = WebInspector.moduleSetting("textEditorIndent").get();
2232 this.listItemElement.createChild("span", "styles-clipboard-only").create TextChild(indent + (this.property.disabled ? "/* " : "")); 2231 this.listItemElement.createChild("span", "styles-clipboard-only").create TextChild(indent + (this.property.disabled ? "/* " : ""));
2233 this.listItemElement.appendChild(this.nameElement); 2232 this.listItemElement.appendChild(this.nameElement);
2234 this.listItemElement.createTextChild(": "); 2233 this.listItemElement.createTextChild(": ");
2235 this.listItemElement.appendChild(this._expandElement); 2234 this.listItemElement.appendChild(this._expandElement);
2236 this.listItemElement.appendChild(this.valueElement); 2235 this.listItemElement.appendChild(this.valueElement);
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
3184 3183
3185 /** 3184 /**
3186 * @override 3185 * @override
3187 * @return {?WebInspector.ToolbarItem} 3186 * @return {?WebInspector.ToolbarItem}
3188 */ 3187 */
3189 item: function() 3188 item: function()
3190 { 3189 {
3191 return this._button; 3190 return this._button;
3192 } 3191 }
3193 } 3192 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/elements/ComputedStyleWidget.js ('k') | Source/devtools/front_end/ui/treeoutline.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698