1010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)// Copyright 2014 The Chromium Authors. All rights reserved. 2010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 3010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)// found in the LICENSE file. 4010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles) 5010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)#ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_ 6010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_ 7010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles) 8010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)namespace app_list { 9010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)class AppListView; 10010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)} 11010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles) 121320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucciclass AppListViewDelegate; 13010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles) 14010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)// Allows platform-specific hooks for the AppListShower. 15010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)class AppListShowerDelegate { 16010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles) public: 171320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci virtual AppListViewDelegate* GetViewDelegateForCreate() = 0; 18010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles) virtual void OnViewCreated() = 0; 19010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles) virtual void OnViewDismissed() = 0; 20010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles) virtual void MoveNearCursor(app_list::AppListView* view) = 0; 21010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)}; 22010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles) 23010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)#endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_ 24