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 d7105d0f6a46d9e07e4d8e3093a5c51fb66817b4..02804461d57ed6b5eef39c7f8c2170346d9182a6 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js |
@@ -334,6 +334,12 @@ WebInspector.ToolbarLabel.prototype = { |
this.element.classList.toggle("toolbar-dimmed", dimmed); |
}, |
+ addDropDownArrow: function() |
+ { |
+ this.element.classList.add("toolbar-has-dropdown"); |
+ this.element.createChild("div", "toolbar-dropdown-arrow"); |
+ }, |
+ |
__proto__: WebInspector.ToolbarItem.prototype |
} |
@@ -720,7 +726,7 @@ WebInspector.ToolbarComboBox = function(changeHandler, className) |
WebInspector.ToolbarItem.call(this, createElementWithClass("span", "toolbar-select-container")); |
this._selectElement = this.element.createChild("select", "toolbar-item"); |
- this.element.createChild("div", "toolbar-select-arrow"); |
+ this.element.createChild("div", "toolbar-dropdown-arrow"); |
if (changeHandler) |
this._selectElement.addEventListener("change", changeHandler, false); |
if (className) |