Commit 51b4670e authored by Anubha Mathur's avatar Anubha Mathur Committed by Commit Bot

DevTools: Add aria-label to memory tool profile view combobox

https://imgur.com/a/gDmzwqL

Bug: 963183
Change-Id: Ibce22aaad2d609d4672700658603dff24ec30da3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1808796Reviewed-by: default avatarPeter Marshall <petermarshall@chromium.org>
Reviewed-by: default avatarYang Guo <yangguo@chromium.org>
Commit-Queue: Anubha Mathur <anubmat@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#698978}
parent 54da7ccf
...@@ -34,6 +34,7 @@ Profiler.ProfileView = class extends UI.SimpleView { ...@@ -34,6 +34,7 @@ Profiler.ProfileView = class extends UI.SimpleView {
this.dataGrid.addEventListener(DataGrid.DataGrid.Events.DeselectedNode, this._nodeSelected.bind(this, false)); this.dataGrid.addEventListener(DataGrid.DataGrid.Events.DeselectedNode, this._nodeSelected.bind(this, false));
this.viewSelectComboBox = new UI.ToolbarComboBox(this._changeView.bind(this)); this.viewSelectComboBox = new UI.ToolbarComboBox(this._changeView.bind(this));
this.viewSelectComboBox.setTitle(ls`Profile view mode`);
this.focusButton = new UI.ToolbarButton(Common.UIString('Focus selected function'), 'largeicon-visibility'); this.focusButton = new UI.ToolbarButton(Common.UIString('Focus selected function'), 'largeicon-visibility');
this.focusButton.setEnabled(false); this.focusButton.setEnabled(false);
......
...@@ -181,6 +181,9 @@ ...@@ -181,6 +181,9 @@
<message name="IDS_DEVTOOLS_6db0d0f1832acb4a56fc82f2317e61e6" desc="Text in Profile View of a profiler tool"> <message name="IDS_DEVTOOLS_6db0d0f1832acb4a56fc82f2317e61e6" desc="Text in Profile View of a profiler tool">
Parsing… Parsing…
</message> </message>
<message name="IDS_DEVTOOLS_6de06ad67fbc56af1a7a5b16a41d2f2c" desc="Aria-label for profiles view combobox in memory tool">
Profile view mode
</message>
<message name="IDS_DEVTOOLS_6e9dd9cf5419fd65f433f1e4bbc5e6ad" desc="Text in Heap Profile View of a profiler tool"> <message name="IDS_DEVTOOLS_6e9dd9cf5419fd65f433f1e4bbc5e6ad" desc="Text in Heap Profile View of a profiler tool">
SAMPLING PROFILES SAMPLING PROFILES
</message> </message>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment