text: // Copyright (c) 2012 The Chromium Authors. All rights reserved.
  // Use of this source code is governed by a BSD-style license that can be
  // found in the LICENSE file.
  
  #ifndef CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_CONTROLLER_ASH_H_
  #define CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_CONTROLLER_ASH_H_
  
  #include <string>
  
  #include "base/basictypes.h"
  #include "base/compiler_specific.h"
  #include "chrome/browser/ui/app_list/app_list_controller.h"
  
  class AppListControllerDelegateAsh : public AppListControllerDelegate {
   public:
    AppListControllerDelegateAsh();
    virtual ~AppListControllerDelegateAsh();
  
   private:
    // AppListControllerDelegate overrides:
    virtual void DismissView() OVERRIDE;
    virtual bool IsAppPinned(const std::string& extension_id) OVERRIDE;
    virtual void PinApp(const std::string& extension_id) OVERRIDE;
    virtual void UnpinApp(const std::string& extension_id) OVERRIDE;
    virtual bool CanPin() OVERRIDE;
    virtual bool CanShowCreateShortcutsDialog() OVERRIDE;
    virtual void CreateNewWindow(bool incognito) OVERRIDE;
    virtual void ActivateApp(Profile* profile,
                             const std::string& extension_id,
                             int event_flags) OVERRIDE;
    virtual void LaunchApp(Profile* profile,
                           const std::string& extension_id,
                           int event_flags) OVERRIDE;
  
    DISALLOW_COPY_AND_ASSIGN(AppListControllerDelegateAsh);
  };
  
  #endif  // CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_CONTROLLER_ASH_H_
  