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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js

Issue 2875193002: DevTools: update text inputs to new style (Closed)
Patch Set: ac Created 3 years, 6 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/resources/IndexedDBViews.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js b/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js
index efeface96298ef2d31e2e5740e20f6088cc9bdc5..7380efe52ac12f14bad8000cc4a5596e93d1e16f 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js
@@ -202,7 +202,8 @@ Resources.IDBDataView = class extends UI.SimpleView {
this._pageForwardButton.addEventListener(UI.ToolbarButton.Events.Click, this._pageForwardButtonClicked, this);
editorToolbar.appendToolbarItem(this._pageForwardButton);
- this._keyInputElement = editorToolbar.element.createChild('input', 'key-input');
+ this._keyInputElement = UI.createInput('key-input');
+ editorToolbar.element.appendChild(this._keyInputElement);
this._keyInputElement.placeholder = Common.UIString('Start from key');
this._keyInputElement.addEventListener('paste', this._keyInputChanged.bind(this), false);
this._keyInputElement.addEventListener('cut', this._keyInputChanged.bind(this), false);

Powered by Google App Engine
This is Rietveld 408576698