diff options
Diffstat (limited to 'ash')
-rw-r--r-- | ash/app_list/app_list_item_view.cc | 8 | ||||
-rw-r--r-- | ash/app_list/app_list_item_view.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/ash/app_list/app_list_item_view.cc b/ash/app_list/app_list_item_view.cc index dc6d247..c9e7492 100644 --- a/ash/app_list/app_list_item_view.cc +++ b/ash/app_list/app_list_item_view.cc @@ -13,7 +13,6 @@ #include "base/synchronization/cancellation_flag.h" #include "base/threading/worker_pool.h" #include "base/utf_string_conversions.h" -#include "ui/base/accessibility/accessible_view_state.h" #include "ui/base/animation/throb_animation.h" #include "ui/base/resource/resource_bundle.h" #include "ui/gfx/canvas.h" @@ -204,7 +203,6 @@ AppListItemView::AppListItemView(AppListModelView* list_model_view, set_context_menu_controller(this); set_request_focus_on_press(false); - set_focusable(true); } AppListItemView::~AppListItemView() { @@ -253,7 +251,6 @@ void AppListItemView::SetSelected(bool selected) { if (selected == selected_) return; - RequestFocus(); selected_ = selected; SchedulePaint(); } @@ -363,11 +360,6 @@ void AppListItemView::OnPaint(gfx::Canvas* canvas) { } } -void AppListItemView::GetAccessibleState(ui::AccessibleViewState* state) { - state->role = ui::AccessibilityTypes::ROLE_PUSHBUTTON; - state->name = UTF8ToUTF16(model_->title()); -} - void AppListItemView::ShowContextMenuForView(views::View* source, const gfx::Point& point) { ui::MenuModel* menu_model = model_->GetContextMenuModel(); diff --git a/ash/app_list/app_list_item_view.h b/ash/app_list/app_list_item_view.h index d867d31..e085b42 100644 --- a/ash/app_list/app_list_item_view.h +++ b/ash/app_list/app_list_item_view.h @@ -79,7 +79,6 @@ 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, |