app_list_controller_ash.h revision 5821806d5e7f356e8fa4b058a389a808ea183019
1// Copyright (c) 2012 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_ASH_APP_LIST_APP_LIST_CONTROLLER_ASH_H_
6#define CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_CONTROLLER_ASH_H_
7
8#include <string>
9
10#include "base/basictypes.h"
11#include "base/compiler_specific.h"
12#include "chrome/browser/ui/app_list/app_list_controller.h"
13
14class AppListControllerDelegateAsh : public AppListControllerDelegate {
15 public:
16  AppListControllerDelegateAsh();
17  virtual ~AppListControllerDelegateAsh();
18
19 private:
20  // AppListControllerDelegate overrides:
21  virtual void CloseView() OVERRIDE;
22  virtual bool IsAppPinned(const std::string& extension_id) OVERRIDE;
23  virtual void PinApp(const std::string& extension_id) OVERRIDE;
24  virtual void UnpinApp(const std::string& extension_id) OVERRIDE;
25  virtual bool CanPin() OVERRIDE;
26  virtual bool CanShowCreateShortcutsDialog() OVERRIDE;
27  virtual void CreateNewWindow(bool incognito) OVERRIDE;
28  virtual void ActivateApp(Profile* profile,
29                           const std::string& extension_id,
30                           int event_flags) OVERRIDE;
31  virtual void LaunchApp(Profile* profile,
32                         const std::string& extension_id,
33                         int event_flags) OVERRIDE;
34
35  DISALLOW_COPY_AND_ASSIGN(AppListControllerDelegateAsh);
36};
37
38#endif  // CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_CONTROLLER_ASH_H_
39