app_list_shower_delegate.h revision 010d83a9304c5a91596085d917d248abff47903a
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. 4 5#ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_ 6#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_ 7 8namespace app_list { 9class AppListView; 10} 11 12class AppListControllerDelegate; 13 14// Allows platform-specific hooks for the AppListShower. 15class AppListShowerDelegate { 16 public: 17 virtual AppListControllerDelegate* GetControllerDelegateForCreate() = 0; 18 virtual void OnViewCreated() = 0; 19 virtual void OnViewDismissed() = 0; 20 virtual void MoveNearCursor(app_list::AppListView* view) = 0; 21}; 22 23#endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_ 24