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

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

Issue 1181773007: Devtools: Add tooltip title for bezier icon (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « Source/devtools/front_end/elements/StylesPopoverHelper.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2065 matching lines...) Expand 10 before | Expand all | Expand 10 after
2076 if (!color) 2076 if (!color)
2077 return createTextNode(text); 2077 return createTextNode(text);
2078 2078
2079 if (!this._styleRule.editable()) { 2079 if (!this._styleRule.editable()) {
2080 var swatch = WebInspector.ColorSwatch.create(); 2080 var swatch = WebInspector.ColorSwatch.create();
2081 swatch.setColorText(text); 2081 swatch.setColorText(text);
2082 return swatch; 2082 return swatch;
2083 } 2083 }
2084 2084
2085 var stylesPopoverHelper = this._parentPane._stylesPopoverHelper; 2085 var stylesPopoverHelper = this._parentPane._stylesPopoverHelper;
2086 return new WebInspector.ColowSwatchPopoverIcon(this, stylesPopoverHelper , text).element(); 2086 return new WebInspector.ColorSwatchPopoverIcon(this, stylesPopoverHelper , text).element();
2087 }, 2087 },
2088 2088
2089 /** 2089 /**
2090 * @return {string} 2090 * @return {string}
2091 */ 2091 */
2092 renderedPropertyText: function() 2092 renderedPropertyText: function()
2093 { 2093 {
2094 return this.nameElement.textContent + ": " + this.valueElement.textConte nt; 2094 return this.nameElement.textContent + ": " + this.valueElement.textConte nt;
2095 }, 2095 },
2096 2096
(...skipping 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after
3250 3250
3251 /** 3251 /**
3252 * @override 3252 * @override
3253 * @return {?WebInspector.ToolbarItem} 3253 * @return {?WebInspector.ToolbarItem}
3254 */ 3254 */
3255 item: function() 3255 item: function()
3256 { 3256 {
3257 return this._button; 3257 return this._button;
3258 } 3258 }
3259 } 3259 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/elements/StylesPopoverHelper.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698