Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js |
index 286fc92b9ab41c2ad4080f2cc7ababa2cf715bcb..365c7c71b4d2f9e9a306f12d05e8aef7c05ae860 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js |
@@ -54,10 +54,13 @@ Panel.init = function() { |
Panel.exec(/** @type {PanelCommand} */(command)); |
}, false); |
- $('menu').addEventListener('click', Panel.onMenu, false); |
$('options').addEventListener('click', Panel.onOptions, false); |
$('close').addEventListener('click', Panel.onClose, false); |
+ // The ChromeVox menu isn't fully implemented yet, disable it. |
+ $('menu').disabled = true; |
+ $('triangle').style.display = 'none'; |
+ |
Msgs.addTranslatedMessagesToDom(document); |
}; |
@@ -121,14 +124,6 @@ Panel.exec = function(command) { |
}; |
/** |
- * Open the ChromeVox Menu. |
- */ |
-Panel.onMenu = function() { |
- window.location = '#fullscreen'; |
- // TODO(dmazzoni): implement the menu UI here. |
-}; |
- |
-/** |
* Open the ChromeVox Options. |
*/ |
Panel.onOptions = function() { |