Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/browser/views/extensions/extension_shelf.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/extensions/extension_shelf.h
--- chrome/browser/views/extensions/extension_shelf.h (revision 20591)
+++ chrome/browser/views/extensions/extension_shelf.h (working copy)
@@ -35,6 +35,9 @@
virtual void Layout();
virtual void OnMouseExited(const views::MouseEvent& event);
virtual void OnMouseEntered(const views::MouseEvent& event);
+ virtual bool GetAccessibleName(std::wstring* name);
+ virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
+ virtual void SetAccessibleName(const std::wstring& name);
// ExtensionContainer
virtual void OnExtensionMouseEvent(ExtensionView* view);
@@ -85,6 +88,9 @@
// The model representing the toolstrips on the shelf.
scoped_ptr<ExtensionShelfModel> model_;
+ // Storage of strings needed for accessibility.
+ std::wstring accessible_name_;

Powered by Google App Engine
This is Rietveld 408576698