OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef UI_APP_LIST_VIEWS_APPS_GRID_VIEW_FOLDER_DELEGATE_H_ | 5 #ifndef UI_APP_LIST_VIEWS_APPS_GRID_VIEW_FOLDER_DELEGATE_H_ |
6 #define UI_APP_LIST_VIEWS_APPS_GRID_VIEW_FOLDER_DELEGATE_H_ | 6 #define UI_APP_LIST_VIEWS_APPS_GRID_VIEW_FOLDER_DELEGATE_H_ |
7 | 7 |
8 #include "ui/app_list/app_list_export.h" | 8 #include "ui/app_list/app_list_export.h" |
9 #include "ui/app_list/views/apps_grid_view.h" | 9 #include "ui/app_list/views/apps_grid_view.h" |
10 | 10 |
11 namespace gfx { | 11 namespace gfx { |
12 class Point; | 12 class Point; |
13 } | 13 } |
14 | 14 |
15 namespace ui { | |
16 class LocatedEvent; | |
17 } | |
18 | |
19 namespace app_list { | 15 namespace app_list { |
20 | 16 |
21 class AppListItemView; | 17 class AppListItemView; |
22 | 18 |
23 // A delegate which allows an AppsGridView to communicate with its host folder. | 19 // A delegate which allows an AppsGridView to communicate with its host folder. |
24 class APP_LIST_EXPORT AppsGridViewFolderDelegate { | 20 class APP_LIST_EXPORT AppsGridViewFolderDelegate { |
25 public: | 21 public: |
26 // Updates the folder view background to show or hide folder container ink | 22 // Updates the folder view background to show or hide folder container ink |
27 // bubble. | 23 // bubble. |
28 virtual void UpdateFolderViewBackground(bool show_bubble) = 0; | 24 virtual void UpdateFolderViewBackground(bool show_bubble) = 0; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // synchronous drag has an icon for reparenting while it loads. | 56 // synchronous drag has an icon for reparenting while it loads. |
61 virtual void SetRootLevelDragViewVisible(bool visible) = 0; | 57 virtual void SetRootLevelDragViewVisible(bool visible) = 0; |
62 | 58 |
63 protected: | 59 protected: |
64 virtual ~AppsGridViewFolderDelegate() {} | 60 virtual ~AppsGridViewFolderDelegate() {} |
65 }; | 61 }; |
66 | 62 |
67 } // namespace app_list | 63 } // namespace app_list |
68 | 64 |
69 #endif // UI_APP_LIST_VIEWS_APPS_GRID_VIEW_FOLDER_DELEGATE_H_ | 65 #endif // UI_APP_LIST_VIEWS_APPS_GRID_VIEW_FOLDER_DELEGATE_H_ |
OLD | NEW |