| Index: third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
|
| index 7175fe987d8af836c3b8df728c9ef3eb610e8c6f..64b1078552750fc59e2d3e71385f02d2999b4ae2 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
|
| @@ -350,17 +350,14 @@ WebInspector.ToolbarButton.prototype = {
|
| },
|
|
|
| /**
|
| - * @param {boolean} dimmed
|
| + * @param {number=} width
|
| */
|
| - setDimmed: function(dimmed)
|
| - {
|
| - this.element.classList.toggle("toolbar-dimmed", dimmed);
|
| - },
|
| -
|
| - addDropDownArrow: function()
|
| + turnIntoSelect: function(width)
|
| {
|
| this.element.classList.add("toolbar-has-dropdown");
|
| this.element.createChild("div", "toolbar-dropdown-arrow");
|
| + if (width)
|
| + this.element.style.width = width + "px";
|
| },
|
|
|
| /**
|
|
|