summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-22 15:50:27 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-22 15:50:27 +0000
commit222ed2d867d2431f6f49419d80ee7963a15d98fd (patch)
tree9917226c2b3ca17c7eed3ac290d398cde4bf4512 /chrome/browser/browser.cc
parented256c7bd9828576ce865926e898a6c592b14037 (diff)
downloadchromium_src-222ed2d867d2431f6f49419d80ee7963a15d98fd.zip
chromium_src-222ed2d867d2431f6f49419d80ee7963a15d98fd.tar.gz
chromium_src-222ed2d867d2431f6f49419d80ee7963a15d98fd.tar.bz2
Revert "Keyboard accessibility for the page and app menus."
This reverts commit 42217. TBR=dmzazzoni Review URL: http://codereview.chromium.org/1154003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42218 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 3ddc3a8..f2779af 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -873,9 +873,6 @@ void Browser::UpdateCommandsForFullscreenMode(bool is_fullscreen) {
command_updater_.UpdateCommandEnabled(IDC_FOCUS_TOOLBAR, show_main_ui);
command_updater_.UpdateCommandEnabled(IDC_FOCUS_LOCATION, show_main_ui);
command_updater_.UpdateCommandEnabled(IDC_FOCUS_SEARCH, show_main_ui);
- command_updater_.UpdateCommandEnabled(
- IDC_FOCUS_MENU_BAR,
- show_main_ui && !is_fullscreen && (type() & TYPE_POPUP) == 0);
// Show various bits of UI
command_updater_.UpdateCommandEnabled(IDC_DEVELOPER_MENU, show_main_ui);
@@ -1309,11 +1306,6 @@ void Browser::FocusToolbar() {
window_->FocusToolbar();
}
-void Browser::FocusPageAndAppMenus() {
- UserMetrics::RecordAction("EnterMenuBarEmulationMode", profile_);
- window_->FocusPageAndAppMenus();
-}
-
void Browser::FocusLocationBar() {
UserMetrics::RecordAction("FocusLocation", profile_);
window_->SetFocusToLocationBar();
@@ -1737,7 +1729,6 @@ void Browser::ExecuteCommandWithDisposition(
case IDC_FOCUS_TOOLBAR: FocusToolbar(); break;
case IDC_FOCUS_LOCATION: FocusLocationBar(); break;
case IDC_FOCUS_SEARCH: FocusSearch(); break;
- case IDC_FOCUS_MENU_BAR: FocusPageAndAppMenus(); break;
// Show various bits of UI
case IDC_OPEN_FILE: OpenFile(); break;