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

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

Issue 2523823003: [DevTools] Do not collapse toolbars (Closed)
Patch Set: Right aligned the "show all" checkbox Created 4 years 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/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);
« no previous file with comments | « chrome/browser/resources/inspect/inspect.css ('k') | third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698