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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu_item.js

Issue 2144873002: Support first letter navigation in Panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 4 years, 5 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
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu_item.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu_item.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu_item.js
index 4b724ca7ec75c9dfa73f9a5e0d12006a68577c33..ff080afff4f61f0bacd452948c45c9d8f981624c 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu_item.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu_item.js
@@ -36,3 +36,9 @@ PanelMenuItem = function(menuItemTitle, menuItemShortcut, callback) {
shortcut.textContent = menuItemShortcut;
this.element.appendChild(shortcut);
};
+
+PanelMenuItem.prototype = {
+ get text() {
+ return this.element.textContent;
+ }
+};
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698