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

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

Issue 2875193002: DevTools: update text inputs to new style (Closed)
Patch Set: rebase over cleanup Created 3 years, 7 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 dea0e9b2d84ea163f37db49d02602eb3ec527d9b..fb0ed38e94f015b8cd22b931d0bf71a5d97dff5b 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
@@ -565,7 +565,7 @@ UI.ToolbarInput = class extends UI.ToolbarItem {
constructor(placeholder, growFactor, shrinkFactor, isSearchField) {
super(createElementWithClass('div', 'toolbar-input'));
- this.input = this.element.createChild('input');
+ this.input = this.element.createChild('input', 'default-input');
this.input.addEventListener('focus', () => this.element.classList.add('focused'));
this.input.addEventListener('blur', () => this.element.classList.remove('focused'));
this.input.addEventListener('input', () => this._onChangeCallback(), false);

Powered by Google App Engine
This is Rietveld 408576698