| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "ash/common/shelf/app_list_shelf_item_delegate.h" | 5 #include "ash/shelf/app_list_shelf_item_delegate.h" |
| 6 | 6 |
| 7 #include "ash/common/shelf/shelf_model.h" | 7 #include "ash/shelf/shelf_model.h" |
| 8 #include "ash/common/wm_shell.h" | |
| 9 #include "ash/strings/grit/ash_strings.h" | 8 #include "ash/strings/grit/ash_strings.h" |
| 9 #include "ash/wm_shell.h" |
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| 11 #include "ui/app_list/app_list_switches.h" | 11 #include "ui/app_list/app_list_switches.h" |
| 12 #include "ui/base/l10n/l10n_util.h" | 12 #include "ui/base/l10n/l10n_util.h" |
| 13 | 13 |
| 14 namespace ash { | 14 namespace ash { |
| 15 | 15 |
| 16 // static | 16 // static |
| 17 void AppListShelfItemDelegate::CreateAppListItemAndDelegate(ShelfModel* model) { | 17 void AppListShelfItemDelegate::CreateAppListItemAndDelegate(ShelfModel* model) { |
| 18 // Add the app list item to the shelf model. | 18 // Add the app list item to the shelf model. |
| 19 ShelfItem item; | 19 ShelfItem item; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 48 | 48 |
| 49 void AppListShelfItemDelegate::ExecuteCommand(uint32_t command_id, | 49 void AppListShelfItemDelegate::ExecuteCommand(uint32_t command_id, |
| 50 int event_flags) { | 50 int event_flags) { |
| 51 // This delegate does not support showing an application menu. | 51 // This delegate does not support showing an application menu. |
| 52 NOTIMPLEMENTED(); | 52 NOTIMPLEMENTED(); |
| 53 } | 53 } |
| 54 | 54 |
| 55 void AppListShelfItemDelegate::Close() {} | 55 void AppListShelfItemDelegate::Close() {} |
| 56 | 56 |
| 57 } // namespace ash | 57 } // namespace ash |
| OLD | NEW |