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

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

Issue 2523823003: [DevTools] Do not collapse toolbars (Closed)
Patch Set: [DevTools] Do not collapse toolbars Created 3 years, 10 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/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 af55aa88b121b837bbc5807555967cc5345dba60..617b578ac9ae030fac466f0d377f0d546d1d884d 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,7 @@ Resources.ServiceWorkersView = class extends UI.VBox {
this._reportView.show(this.contentElement);
this._toolbar = this._reportView.createToolbar();
+ this._toolbar.makeWrappable(false, true);
/** @type {!Map<!SDK.ServiceWorkerRegistration, !Resources.ServiceWorkersView.Section>} */
this._sections = new Map();
@@ -28,9 +29,9 @@ Resources.ServiceWorkersView = class extends UI.VBox {
var fallbackToNetwork = new UI.ToolbarSettingCheckbox(
bypassServiceWorkerSetting, Common.UIString('Bypass Service Worker and load resources from the network'));
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