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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/HistoryInput.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/HistoryInput.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/HistoryInput.js b/third_party/WebKit/Source/devtools/front_end/ui/HistoryInput.js
index 2abd56eb5a28c75326c8c096f677c1372771e9e3..814271b6ece155d960cdd8daf26a26e2b9f19978 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/HistoryInput.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/HistoryInput.js
@@ -25,6 +25,7 @@ UI.HistoryInput = class extends HTMLInputElement {
createdCallback() {
this._history = [''];
this._historyPosition = 0;
+ this.classList.add('default-input');
pfeldman 2017/06/01 21:16:57 That way you would not need to do this...
luoe 2017/06/06 00:16:27 Done.
this.addEventListener('keydown', this._onKeyDown.bind(this), false);
this.addEventListener('input', this._onInput.bind(this), false);
}

Powered by Google App Engine
This is Rietveld 408576698