| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/app_list/app_list_view_delegate.h" | 5 #include "chrome/browser/ui/app_list/app_list_view_delegate.h" |
| 6 | 6 |
| 7 #include "chrome/browser/profiles/profile_manager.h" | 7 #include "chrome/browser/profiles/profile_manager.h" |
| 8 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" |
| 8 #include "chrome/browser/ui/app_list/apps_model_builder.h" | 9 #include "chrome/browser/ui/app_list/apps_model_builder.h" |
| 9 #include "chrome/browser/ui/app_list/chrome_app_list_item.h" | 10 #include "chrome/browser/ui/app_list/chrome_app_list_item.h" |
| 10 #include "chrome/browser/ui/app_list/search_builder.h" | 11 #include "chrome/browser/ui/app_list/search_builder.h" |
| 11 #include "content/public/browser/user_metrics.h" | 12 #include "content/public/browser/user_metrics.h" |
| 12 | 13 |
| 13 #if defined(USE_ASH) | 14 #if defined(USE_ASH) |
| 14 #include "chrome/browser/ui/ash/app_list/app_sync_ui_state_watcher.h" | 15 #include "chrome/browser/ui/ash/app_list/app_sync_ui_state_watcher.h" |
| 15 #endif | 16 #endif |
| 16 | 17 |
| 17 AppListViewDelegate::AppListViewDelegate(AppListControllerDelegate* controller) | 18 AppListViewDelegate::AppListViewDelegate(AppListControllerDelegate* controller) |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 controller_->DismissView(); | 80 controller_->DismissView(); |
| 80 } | 81 } |
| 81 | 82 |
| 82 void AppListViewDelegate::ViewClosing() { | 83 void AppListViewDelegate::ViewClosing() { |
| 83 controller_->ViewClosing(); | 84 controller_->ViewClosing(); |
| 84 } | 85 } |
| 85 | 86 |
| 86 void AppListViewDelegate::ViewActivationChanged(bool active) { | 87 void AppListViewDelegate::ViewActivationChanged(bool active) { |
| 87 controller_->ViewActivationChanged(active); | 88 controller_->ViewActivationChanged(active); |
| 88 } | 89 } |
| OLD | NEW |