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/common/shelf/app_list_shelf_item_delegate.h" |
6 | 6 |
7 #include "ash/common/shelf/shelf_model.h" | 7 #include "ash/common/shelf/shelf_model.h" |
8 #include "ash/common/wm_shell.h" | 8 #include "ash/common/wm_shell.h" |
9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
10 #include "grit/ash_strings.h" | 10 #include "grit/ash_strings.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 } | 56 } |
57 | 57 |
58 bool AppListShelfItemDelegate::IsDraggable() { | 58 bool AppListShelfItemDelegate::IsDraggable() { |
59 return false; | 59 return false; |
60 } | 60 } |
61 | 61 |
62 bool AppListShelfItemDelegate::CanPin() const { | 62 bool AppListShelfItemDelegate::CanPin() const { |
63 return true; | 63 return true; |
64 } | 64 } |
65 | 65 |
66 bool AppListShelfItemDelegate::ShouldShowTooltip() { | |
67 return true; | |
68 } | |
69 | |
70 void AppListShelfItemDelegate::Close() {} | 66 void AppListShelfItemDelegate::Close() {} |
71 | 67 |
72 } // namespace ash | 68 } // namespace ash |
OLD | NEW |