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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js

Issue 2776263006: [DevTools] Migrate checkbox label to a proper web component (Closed)
Patch Set: Created 3 years, 9 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/sources/AdvancedSearchView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js b/third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js
index aac7c3007d9c4af49e8a4c24ab19b94b0b4c3922..f55fa568556b998c2c26d030f2208d092622a808 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js
@@ -38,13 +38,13 @@ Sources.AdvancedSearchView = class extends UI.VBox {
var cancelButtonContainer = this._searchPanelElement.createChild('div', 'search-cancel-button-container');
cancelButtonContainer.appendChild(this._searchInputClearElement);
- this._ignoreCaseLabel = UI.createCheckboxLabel(Common.UIString('Ignore case'));
+ this._ignoreCaseLabel = UI.CheckboxLabel.create(Common.UIString('Ignore case'));
this._ignoreCaseLabel.classList.add('search-config-label');
this._searchPanelElement.appendChild(this._ignoreCaseLabel);
this._ignoreCaseCheckbox = this._ignoreCaseLabel.checkboxElement;
this._ignoreCaseCheckbox.classList.add('search-config-checkbox');
- this._regexLabel = UI.createCheckboxLabel(Common.UIString('Regular expression'));
+ this._regexLabel = UI.CheckboxLabel.create(Common.UIString('Regular expression'));
this._regexLabel.classList.add('search-config-label');
this._searchPanelElement.appendChild(this._regexLabel);
this._regexCheckbox = this._regexLabel.checkboxElement;

Powered by Google App Engine
This is Rietveld 408576698