Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / app_list / app_list_shower_delegate.h
blob4b014c7d7a08872b4f858419e10475d40ebb6c9d
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_
8 namespace app_list {
9 class AppListView;
12 class AppListViewDelegate;
14 // Allows platform-specific hooks for the AppListShower.
15 class AppListShowerDelegate {
16 public:
17 virtual AppListViewDelegate* GetViewDelegateForCreate() = 0;
18 virtual void OnViewCreated() = 0;
19 virtual void OnViewDismissed() = 0;
20 virtual void MoveNearCursor(app_list::AppListView* view) = 0;
23 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_