OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/views/aura/app_list/app_list_view_delegate.h" | 5 #include "chrome/browser/ui/views/aura/app_list/app_list_view_delegate.h" |
6 | 6 |
7 #include "chrome/browser/ui/views/aura/app_list/chrome_app_list_item.h" | 7 #include "chrome/browser/ui/views/aura/app_list/chrome_app_list_item.h" |
8 | 8 |
9 AppListViewDelegate::AppListViewDelegate() { | 9 AppListViewDelegate::AppListViewDelegate() { |
10 } | 10 } |
11 | 11 |
12 AppListViewDelegate::~AppListViewDelegate() { | 12 AppListViewDelegate::~AppListViewDelegate() { |
13 } | 13 } |
14 | 14 |
15 void AppListViewDelegate::OnAppListItemActivated( | 15 void AppListViewDelegate::OnAppListItemActivated( |
16 aura_shell::AppListItemModel* item, | 16 ash::AppListItemModel* item, |
17 int event_flags) { | 17 int event_flags) { |
18 static_cast<ChromeAppListItem*>(item)->Activate(event_flags); | 18 static_cast<ChromeAppListItem*>(item)->Activate(event_flags); |
19 } | 19 } |
OLD | NEW |