Index: chrome/browser/ui/app_list/app_list_shower_delegate.h |
diff --git a/chrome/browser/ui/app_list/app_list_shower_delegate.h b/chrome/browser/ui/app_list/app_list_shower_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9283cf49f6c842f8b1476d3b8e8d57e38b358864 |
--- /dev/null |
+++ b/chrome/browser/ui/app_list/app_list_shower_delegate.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_ |
+#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_ |
+ |
+namespace app_list { |
+class AppListView; |
+} |
+ |
+class AppListControllerDelegate; |
+ |
+// Allows platform-specific hooks for the AppListShower. |
+class AppListShowerDelegate { |
+ public: |
+ virtual AppListControllerDelegate* GetControllerDelegateForCreate() = 0; |
+ virtual void OnViewCreated() = 0; |
+ virtual void OnViewDismissed() = 0; |
+ virtual void MoveNearCursor(app_list::AppListView* view) = 0; |
+}; |
+ |
+#endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_ |