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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js

Issue 1581763002: Revert of [DevTools] Device Mode polish. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
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 02804461d57ed6b5eef39c7f8c2170346d9182a6..d7105d0f6a46d9e07e4d8e3093a5c51fb66817b4 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
@@ -334,12 +334,6 @@
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
}
@@ -726,7 +720,7 @@
WebInspector.ToolbarItem.call(this, createElementWithClass("span", "toolbar-select-container"));
this._selectElement = this.element.createChild("select", "toolbar-item");
- this.element.createChild("div", "toolbar-dropdown-arrow");
+ this.element.createChild("div", "toolbar-select-arrow");
if (changeHandler)
this._selectElement.addEventListener("change", changeHandler, false);
if (className)

Powered by Google App Engine
This is Rietveld 408576698