blob: abb59af23972b4bf8db31db802263f796c2a66db [file] [log] [blame]
// 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.
#include "chrome/browser/ui/app_list/app_list_controller_delegate.h"
#include "base/logging.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "ui/gfx/image/image_skia.h"
AppListControllerDelegate::~AppListControllerDelegate() {}
void AppListControllerDelegate::ViewClosing() {}
gfx::ImageSkia AppListControllerDelegate::GetWindowIcon() {
return gfx::ImageSkia();
}
bool AppListControllerDelegate::IsAppPinned(const std::string& extension_id) {
return false;
}
void AppListControllerDelegate::PinApp(const std::string& extension_id) {}
void AppListControllerDelegate::UnpinApp(const std::string& extension_id) {}
void AppListControllerDelegate::DoCreateShortcutsFlow(
Profile* profile,
const std::string& extension_id) {}
void AppListControllerDelegate::CreateNewWindow(Profile* profile,
bool incognito) {
NOTREACHED();
}
bool AppListControllerDelegate::ShouldShowUserIcon() {
return g_browser_process->profile_manager()->GetNumberOfProfiles() > 1;
}