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

Unified Diff: chrome/browser/views/tab_contents/tab_contents_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/tab_contents/tab_contents_container.h
===================================================================
--- chrome/browser/views/tab_contents/tab_contents_container.h (revision 20591)
+++ chrome/browser/views/tab_contents/tab_contents_container.h (working copy)
@@ -41,6 +41,9 @@
// Overridden from views::View:
virtual void Layout();
+ virtual bool GetAccessibleName(std::wstring* name);
+ virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
+ virtual void SetAccessibleName(const std::wstring& name);
protected:
// Overridden from views::View:
@@ -72,6 +75,9 @@
// Handles registering for our notifications.
NotificationRegistrar registrar_;
+ // Storage of strings needed for accessibility.
+ std::wstring accessible_name_;
+
DISALLOW_COPY_AND_ASSIGN(TabContentsContainer);
};

Powered by Google App Engine
This is Rietveld 408576698