Chromium Code Reviews| 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..1f029cd5a386e5800a91e96c215b442e9165552a |
| --- /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 OnViewHidden() = 0; |
|
tapted
2014/04/29 04:20:30
onviewdismissed?
Matt Giuca
2014/04/30 00:41:23
SGTM.
tapted
2014/04/30 03:26:03
Done.
|
| + virtual void MoveNearCursor(app_list::AppListView* view) = 0; |
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_ |