app_list_controller_delegate_win.h revision 1e9bf3e0803691d0a228da41fc608347b6db4340
1// Copyright 2013 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_VIEWS_APP_LIST_WIN_APP_LIST_CONTROLLER_DELEGATE_WIN_H_ 6#define CHROME_BROWSER_UI_VIEWS_APP_LIST_WIN_APP_LIST_CONTROLLER_DELEGATE_WIN_H_ 7 8#include "base/files/file_path.h" 9#include "chrome/browser/ui/app_list/app_list_controller_delegate_impl.h" 10#include "ui/gfx/image/image_skia.h" 11#include "ui/gfx/native_widget_types.h" 12 13class AppListServiceWin; 14class Profile; 15 16namespace extensions { 17class Extension; 18} 19 20// Windows specific configuration and behaviour for the AppList. 21class AppListControllerDelegateWin : public AppListControllerDelegateImpl { 22 public: 23 explicit AppListControllerDelegateWin(AppListServiceWin* service); 24 virtual ~AppListControllerDelegateWin(); 25 26 // AppListControllerDelegate overrides: 27 virtual void ViewClosing() OVERRIDE; 28 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; 29 virtual void OnShowExtensionPrompt() OVERRIDE; 30 virtual void OnCloseExtensionPrompt() OVERRIDE; 31 virtual bool CanDoCreateShortcutsFlow() OVERRIDE; 32 33 private: 34 AppListServiceWin* service_; 35 36 DISALLOW_COPY_AND_ASSIGN(AppListControllerDelegateWin); 37}; 38 39#endif // CHROME_BROWSER_UI_VIEWS_APP_LIST_WIN_APP_LIST_CONTROLLER_DELEGATE_WIN_H_ 40