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

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 2264 matching lines...) Expand 10 before | Expand all | Expand 10 after
2275 this._expandElement.className = "expand-element"; 2275 this._expandElement.className = "expand-element";
2276 2276
2277 var propertyRenderer = new WebInspector.StylesSidebarPropertyRenderer(th is._styleRule.rule(), this.node(), this.name, this.value); 2277 var propertyRenderer = new WebInspector.StylesSidebarPropertyRenderer(th is._styleRule.rule(), this.node(), this.name, this.value);
2278 if (this.property.parsedOk) { 2278 if (this.property.parsedOk) {
2279 propertyRenderer.setColorHandler(this._processColor.bind(this)); 2279 propertyRenderer.setColorHandler(this._processColor.bind(this));
2280 propertyRenderer.setBezierHandler(this._processBezier.bind(this)); 2280 propertyRenderer.setBezierHandler(this._processBezier.bind(this));
2281 } 2281 }
2282 2282
2283 this.listItemElement.removeChildren(); 2283 this.listItemElement.removeChildren();
2284 this.nameElement = propertyRenderer.renderName(); 2284 this.nameElement = propertyRenderer.renderName();
2285 this.nameElement.title = this.property.propertyText;
dgozman 2015/08/12 17:19:34 Why remove this one? It does no harm. If it plays
samli 2015/08/17 00:53:26 Again there is no added value here and is more lik
samli 2015/08/18 04:10:29 http://i.imgur.com/jz4xg8u.png
2286 this.valueElement = propertyRenderer.renderValue(); 2285 this.valueElement = propertyRenderer.renderValue();
2287 if (!this.treeOutline) 2286 if (!this.treeOutline)
2288 return; 2287 return;
2289 2288
2290 var indent = WebInspector.moduleSetting("textEditorIndent").get(); 2289 var indent = WebInspector.moduleSetting("textEditorIndent").get();
2291 this.listItemElement.createChild("span", "styles-clipboard-only").create TextChild(indent + (this.property.disabled ? "/* " : "")); 2290 this.listItemElement.createChild("span", "styles-clipboard-only").create TextChild(indent + (this.property.disabled ? "/* " : ""));
2292 this.listItemElement.appendChild(this.nameElement); 2291 this.listItemElement.appendChild(this.nameElement);
2293 this.listItemElement.createTextChild(": "); 2292 this.listItemElement.createTextChild(": ");
2294 this.listItemElement.appendChild(this._expandElement); 2293 this.listItemElement.appendChild(this._expandElement);
2295 this.listItemElement.appendChild(this.valueElement); 2294 this.listItemElement.appendChild(this.valueElement);
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
3248 3247
3249 /** 3248 /**
3250 * @override 3249 * @override
3251 * @return {?WebInspector.ToolbarItem} 3250 * @return {?WebInspector.ToolbarItem}
3252 */ 3251 */
3253 item: function() 3252 item: function()
3254 { 3253 {
3255 return this._button; 3254 return this._button;
3256 } 3255 }
3257 } 3256 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698