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

Unified Diff: chrome/browser/views/infobars/infobar_container.h

Issue 155446: Adds MSAA information to various (previously uncovered) bits of the UI, inclu... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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
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);
};

Powered by Google App Engine
This is Rietveld 408576698