Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js b/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js |
| index c7ca87715f4f6514eb034f2129f7dacf6312b15f..2ffdab55edb9b75badcd72c40d58f5b6d43bef13 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js |
| @@ -13,6 +13,8 @@ Resources.ServiceWorkersView = class extends UI.VBox { |
| this._reportView.show(this.contentElement); |
| this._toolbar = this._reportView.createToolbar(); |
| + this._toolbar.makeWrappable(); |
|
pfeldman
2017/02/23 21:12:15
Let's make 'growVertically' a parameter of makeWra
eostroukhov
2017/02/24 01:12:39
Done.
|
| + this._toolbar.growVertically(); |
| /** @type {!Map<!SDK.ServiceWorkerRegistration, !Resources.ServiceWorkersView.Section>} */ |
| this._sections = new Map(); |
| @@ -27,9 +29,9 @@ Resources.ServiceWorkersView = class extends UI.VBox { |
| Common.UIString('Bypass Service Worker and load resources from the network'), |
| Common.settings.createSetting('bypassServiceWorker', false)); |
| this._toolbar.appendToolbarItem(fallbackToNetwork); |
| - this._toolbar.appendSpacer(); |
| this._showAllCheckbox = new UI.ToolbarCheckbox( |
| Common.UIString('Show all'), Common.UIString('Show all Service Workers regardless of the origin')); |
| + this._showAllCheckbox.setRightAligned(true); |
| this._showAllCheckbox.inputElement.addEventListener('change', this._updateSectionVisibility.bind(this), false); |
| this._toolbar.appendToolbarItem(this._showAllCheckbox); |