| Index: chrome/browser/ui/app_list/app_list_controller_delegate_views.cc
|
| diff --git a/chrome/browser/ui/app_list/app_list_controller_delegate_views.cc b/chrome/browser/ui/app_list/app_list_controller_delegate_views.cc
|
| deleted file mode 100644
|
| index 6b38b8ccd4f7ef1b35475d2000217f910a6b0bd3..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/app_list/app_list_controller_delegate_views.cc
|
| +++ /dev/null
|
| @@ -1,50 +0,0 @@
|
| -// Copyright 2014 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_views.h"
|
| -
|
| -#include "chrome/browser/ui/app_list/app_list_service_views.h"
|
| -#include "ui/app_list/views/app_list_view.h"
|
| -
|
| -AppListControllerDelegateViews::AppListControllerDelegateViews(
|
| - AppListServiceViews* service)
|
| - : AppListControllerDelegateImpl(service),
|
| - service_(service) {
|
| -}
|
| -
|
| -AppListControllerDelegateViews::~AppListControllerDelegateViews() {}
|
| -
|
| -gfx::Rect AppListControllerDelegateViews::GetAppListBounds() {
|
| - // We use the bounds of the app list view here because the bounds of the app
|
| - // list window include the shadow behind it (and the shadow size varies across
|
| - // platforms).
|
| - app_list::AppListView* app_list_view = service_->shower().app_list();
|
| - if (app_list_view)
|
| - return app_list_view->GetBoundsInScreen();
|
| - return gfx::Rect();
|
| -}
|
| -
|
| -void AppListControllerDelegateViews::ViewClosing() {
|
| - service_->OnViewBeingDestroyed();
|
| -}
|
| -
|
| -void AppListControllerDelegateViews::OnShowChildDialog() {
|
| - DCHECK(service_->shower().app_list());
|
| - service_->shower().app_list()->SetAppListOverlayVisible(true);
|
| - service_->set_can_dismiss(false);
|
| -}
|
| -
|
| -void AppListControllerDelegateViews::OnCloseChildDialog() {
|
| - // If the app list is closed while a child dialog is open (for example,
|
| - // through an OS-level close command), then the app list view will already
|
| - // have been cleared from the shower by
|
| - // AppListShower::HandleViewBeingDestroyed().
|
| - if (service_->shower().app_list())
|
| - service_->shower().app_list()->SetAppListOverlayVisible(false);
|
| - service_->set_can_dismiss(true);
|
| -}
|
| -
|
| -bool AppListControllerDelegateViews::CanDoCreateShortcutsFlow() {
|
| - return true;
|
| -}
|
|
|