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

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

Issue 2654063002: DevTools: migrate TabbedPane chevron over to UI.Icon. (Closed)
Patch Set: rebaseline Created 3 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/TabbedPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js b/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
index bc6b3bf67fed99799cbb31c02f16cc8a22eda873..c8a3456c35b8e2c0b0e955021e91eaf1b5469d0d 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
@@ -535,7 +535,8 @@ UI.TabbedPane = class extends UI.VBox {
_createDropDownButton() {
var dropDownContainer = createElementWithClass('div', 'tabbed-pane-header-tabs-drop-down-container');
- dropDownContainer.createChild('div', 'glyph');
+ var chevronIcon = UI.Icon.create('largeicon-chevron', 'chevron-icon');
+ dropDownContainer.appendChild(chevronIcon);
this._dropDownMenu = new UI.DropDownMenu(dropDownContainer);
this._dropDownMenu.addEventListener(UI.DropDownMenu.Events.ItemSelected, this._dropDownMenuItemSelected, this);

Powered by Google App Engine
This is Rietveld 408576698