Chromium Code Reviews| Index: chrome/browser/views/tab_contents/tab_contents_container.cc |
| =================================================================== |
| --- chrome/browser/views/tab_contents/tab_contents_container.cc (revision 20591) |
| +++ chrome/browser/views/tab_contents/tab_contents_container.cc (working copy) |
| @@ -75,6 +75,25 @@ |
| } |
| } |
| +bool TabContentsContainer::GetAccessibleRole(AccessibilityTypes::Role* role) { |
| + DCHECK(role); |
| + |
| + *role = AccessibilityTypes::ROLE_WINDOW; |
| + return true; |
| +} |
| + |
| +bool TabContentsContainer::GetAccessibleName(std::wstring* name) { |
| + if (!accessible_name_.empty()) { |
|
jcampan
2009/07/14 16:44:24
Same nit as previously mentioned.
|
| + (*name).assign(accessible_name_); |
| + return true; |
| + } |
| + return false; |
| +} |
| + |
| +void TabContentsContainer::SetAccessibleName(const std::wstring& name) { |
| + accessible_name_.assign(name); |
| +} |
| + |
| void TabContentsContainer::ViewHierarchyChanged(bool is_add, |
| views::View* parent, |
| views::View* child) { |