Index: ui/app_list/views/apps_grid_view_delegate.h |
diff --git a/ui/app_list/views/apps_grid_view_delegate.h b/ui/app_list/views/apps_grid_view_delegate.h |
index 14b31a063c8cdcb7c3242bec6fdeffd304adde19..3be3eeeef5882409dc7e7d034df9b73d9736c99b 100644 |
--- a/ui/app_list/views/apps_grid_view_delegate.h |
+++ b/ui/app_list/views/apps_grid_view_delegate.h |
@@ -30,6 +30,11 @@ class APP_LIST_EXPORT AppsGridViewDelegate { |
const std::string& app_id, |
const base::Callback<void(const base::FilePath&)>& callback) = 0; |
+ // Called by the root grid view to cancel a drag that started inside a folder. |
+ // This can occur when the root grid is visible for a reparent and its model |
+ // changes, necessitating a cancel of the drag operation. |
+ virtual void CancelDragInActiveFolder() = 0; |
+ |
protected: |
virtual ~AppsGridViewDelegate() {} |
}; |