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

Unified Diff: chrome/browser/views/tabs/tab_renderer.cc

Issue 1616004: Fix Regression for Accessible Names (Closed)
Patch Set: Created 10 years, 9 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/views/tabs/tab.cc ('k') | views/controls/image_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/tabs/tab_renderer.cc
diff --git a/chrome/browser/views/tabs/tab_renderer.cc b/chrome/browser/views/tabs/tab_renderer.cc
index b84dc20a48cb5f3c0a60ea85ae11cc8437911ace..cfc7a94c5093858e52497324e50c005a8c070526 100644
--- a/chrome/browser/views/tabs/tab_renderer.cc
+++ b/chrome/browser/views/tabs/tab_renderer.cc
@@ -311,6 +311,9 @@ void TabRenderer::UpdateData(TabContents* contents,
else
data_.favicon = contents->GetFavIcon();
data_.phantom = phantom;
+
+ // Sets the accessible name for the tab.
+ SetAccessibleName(data_.title);
Peter Kasting 2010/04/04 01:20:13 I don't know the tab code well enough to know if t
}
// TODO(glen): Temporary hax.
« no previous file with comments | « chrome/browser/views/tabs/tab.cc ('k') | views/controls/image_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698