Index: chrome/browser/views/infobars/infobar_container.h |
=================================================================== |
--- chrome/browser/views/infobars/infobar_container.h (revision 20591) |
+++ chrome/browser/views/infobars/infobar_container.h (working copy) |
@@ -36,6 +36,9 @@ |
// Overridden from views::View: |
virtual gfx::Size GetPreferredSize(); |
virtual void Layout(); |
+ virtual bool GetAccessibleName(std::wstring* name); |
+ virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); |
+ virtual void SetAccessibleName(const std::wstring& name); |
protected: |
jcampan
2009/07/14 16:44:24
Nit: Add a blank line above "protected:"
|
virtual void ViewHierarchyChanged(bool is_add, |
views::View* parent, |
@@ -69,6 +72,9 @@ |
// The TabContents for which we are currently showing InfoBars. |
TabContents* tab_contents_; |
+ // Storage of strings needed for accessibility. |
jcampan
2009/07/14 16:44:24
Nit: strings -> the string
|
+ std::wstring accessible_name_; |
+ |
DISALLOW_COPY_AND_ASSIGN(InfoBarContainer); |
}; |