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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkConfigView.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/network/NetworkConfigView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkConfigView.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkConfigView.js
index 21ec462f79e8b14d032344e986a6c220a44cbe6a..4aadd93f0bfafc8a80564a40dc24dd307b596cce 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkConfigView.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkConfigView.js
@@ -119,7 +119,7 @@ Network.NetworkConfigView = class extends UI.VBox {
_createUserAgentSection() {
var section = this._createSection(Common.UIString('User agent'), 'network-config-ua');
- var checkboxLabel = UI.createCheckboxLabel(Common.UIString('Select automatically'), true);
+ var checkboxLabel = UI.CheckboxLabel.create(Common.UIString('Select automatically'), true);
section.appendChild(checkboxLabel);
this._autoCheckbox = checkboxLabel.checkboxElement;
this._autoCheckbox.addEventListener('change', this._userAgentTypeChanged.bind(this));

Powered by Google App Engine
This is Rietveld 408576698