summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/extensions/extension_shelf.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/extensions/extension_shelf.h')
-rw-r--r--chrome/browser/views/extensions/extension_shelf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/views/extensions/extension_shelf.h b/chrome/browser/views/extensions/extension_shelf.h
index e71f6aa..57a0954 100644
--- a/chrome/browser/views/extensions/extension_shelf.h
+++ b/chrome/browser/views/extensions/extension_shelf.h
@@ -35,6 +35,9 @@ class ExtensionShelf : public views::View,
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 @@ class ExtensionShelf : public views::View,
// The model representing the toolstrips on the shelf.
scoped_ptr<ExtensionShelfModel> model_;
+ // Storage of strings needed for accessibility.
+ std::wstring accessible_name_;
+
DISALLOW_COPY_AND_ASSIGN(ExtensionShelf);
};