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

Unified Diff: chrome/browser/views/frame/browser_view.cc

Issue 15098: Enables restoring of keyboard focus to the the toolbar button that last had f... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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 | « no previous file | chrome/browser/views/toolbar_view.h » ('j') | chrome/browser/views/toolbar_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/frame/browser_view.cc
===================================================================
--- chrome/browser/views/frame/browser_view.cc (revision 7334)
+++ chrome/browser/views/frame/browser_view.cc (working copy)
@@ -501,6 +501,9 @@
}
void BrowserView::FocusToolbar() {
+ // Do not restore the button that previously had accessibility focus, if
+ // focus is set by using the toolbar focus keyboard shortcut.
+ toolbar_->set_acc_focused_view(NULL);
toolbar_->RequestFocus();
}
« no previous file with comments | « no previous file | chrome/browser/views/toolbar_view.h » ('j') | chrome/browser/views/toolbar_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698