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.
5 #include "chrome/browser/ui/views/app_list/linux/app_list_controller_delegate_linux.h"
7 #include "chrome/browser/ui/views/app_list/linux/app_list_service_linux.h"
9 AppListControllerDelegateLinux::AppListControllerDelegateLinux(
10 AppListServiceLinux* service)
11 : AppListControllerDelegateImpl(service),
15 AppListControllerDelegateLinux::~AppListControllerDelegateLinux() {}
17 void AppListControllerDelegateLinux::ViewClosing() {
18 service_->OnAppListClosing();
21 void AppListControllerDelegateLinux::OnShowExtensionPrompt() {
22 service_->set_can_close(false);
25 void AppListControllerDelegateLinux::OnCloseExtensionPrompt() {
26 service_->set_can_close(true);
29 bool AppListControllerDelegateLinux::CanDoCreateShortcutsFlow() {