summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/devtools/front_end/ui/InspectorView.js
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-24 11:40:17 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-24 12:42:11 +0000
commit5d87695f37678f96492b258bbab36486c59866b4 (patch)
treebe9783bbaf04fb930c4d74ca9c00b5e7954c8bc6 /chromium/third_party/blink/renderer/devtools/front_end/ui/InspectorView.js
parent6c11fb357ec39bf087b8b632e2b1e375aef1b38b (diff)
downloadqtwebengine-chromium-5d87695f37678f96492b258bbab36486c59866b4.tar.gz
BASELINE: Update Chromium to 75.0.3770.56
Change-Id: I86d2007fd27a45d5797eee06f4c9369b8b50ac4f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/devtools/front_end/ui/InspectorView.js')
-rw-r--r--chromium/third_party/blink/renderer/devtools/front_end/ui/InspectorView.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/devtools/front_end/ui/InspectorView.js b/chromium/third_party/blink/renderer/devtools/front_end/ui/InspectorView.js
index ab7f88af160..c19d28255c8 100644
--- a/chromium/third_party/blink/renderer/devtools/front_end/ui/InspectorView.js
+++ b/chromium/third_party/blink/renderer/devtools/front_end/ui/InspectorView.js
@@ -57,7 +57,8 @@ UI.InspectorView = class extends UI.VBox {
// Create drawer tabbed pane.
this._drawerTabbedLocation =
UI.viewManager.createTabbedLocation(this._showDrawer.bind(this, false), 'drawer-view', true, true);
- this._drawerTabbedLocation.enableMoreTabsButton();
+ const moreTabsButton = this._drawerTabbedLocation.enableMoreTabsButton();
+ moreTabsButton.setTitle(ls`More Tools`);
this._drawerTabbedPane = this._drawerTabbedLocation.tabbedPane();
this._drawerTabbedPane.setMinimumSize(0, 27);
const closeDrawerButton = new UI.ToolbarButton(Common.UIString('Close drawer'), 'largeicon-delete');
@@ -84,6 +85,9 @@ UI.InspectorView = class extends UI.VBox {
this._tabbedPane.addEventListener(UI.TabbedPane.Events.TabSelected, this._tabSelected, this);
this._tabbedPane.setAccessibleName(Common.UIString('Panels'));
+ // Store the initial selected panel for use in launch histograms
+ Host.userMetrics.setLaunchPanel(this._tabbedPane.selectedTabId);
+
if (Host.isUnderTest())
this._tabbedPane.setAutoSelectFirstItemOnShow(false);
this._drawerSplitWidget.setMainWidget(this._tabbedPane);