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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.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/elements/StylesSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
index a8b2810df358155ee8354743ff50d0302f20caa4..5f2a589d4d42dbb0078b424242323439e0383adc 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
@@ -121,7 +121,7 @@ Elements.StylesSidebarPane = class extends Elements.ElementsSidebarPane {
* @return {!Element}
*/
static createPropertyFilterElement(placeholder, container, filterCallback) {
- var input = createElement('input');
+ var input = createElementWithClass('input', 'default-input');
pfeldman 2017/06/01 21:16:56 Maybe create a UI.createInput method for input tha
luoe 2017/06/06 00:16:27 Done.
input.placeholder = placeholder;
function searchHandler() {

Powered by Google App Engine
This is Rietveld 408576698