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

Unified Diff: ash/app_list/app_list_item_view.h

Issue 9985005: Add accessibility info to app list items and allow them to be focused. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « no previous file | ash/app_list/app_list_item_view.cc » ('j') | ash/app_list/app_list_item_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/app_list/app_list_item_view.h
diff --git a/ash/app_list/app_list_item_view.h b/ash/app_list/app_list_item_view.h
index e085b429892c7856cc599549577a9476cfec9c75..3bbe848023179a3197f966ee546b38738b3d96d1 100644
--- a/ash/app_list/app_list_item_view.h
+++ b/ash/app_list/app_list_item_view.h
@@ -79,6 +79,7 @@ class ASH_EXPORT AppListItemView : public views::CustomButton,
virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual void Layout() OVERRIDE;
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
+ virtual void GetAccessibleState(ui::AccessibleViewState* state);
// views::ContextMenuController overrides:
virtual void ShowContextMenuForView(views::View* source,
@@ -92,6 +93,7 @@ class ASH_EXPORT AppListItemView : public views::CustomButton,
AppListModelView* list_model_view_;
views::ImageView* icon_;
DropShadowLabel* title_;
+ string16 accessible_name_;
scoped_ptr<views::MenuRunner> context_menu_runner_;
« no previous file with comments | « no previous file | ash/app_list/app_list_item_view.cc » ('j') | ash/app_list/app_list_item_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698