| 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/apps_model_builder.h" | 8 #include "chrome/browser/ui/app_list/apps_model_builder.h" |
| 9 #include "chrome/browser/ui/app_list/chrome_app_list_item.h" | 9 #include "chrome/browser/ui/app_list/chrome_app_list_item.h" |
| 10 #include "chrome/browser/ui/app_list/search_builder.h" | 10 #include "chrome/browser/ui/app_list/search_builder.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 const app_list::SearchResult& result, | 61 const app_list::SearchResult& result, |
| 62 int action_index, | 62 int action_index, |
| 63 int event_flags) { | 63 int event_flags) { |
| 64 if (search_builder_.get()) | 64 if (search_builder_.get()) |
| 65 search_builder_->InvokeResultAction(result, action_index, event_flags); | 65 search_builder_->InvokeResultAction(result, action_index, event_flags); |
| 66 } | 66 } |
| 67 | 67 |
| 68 void AppListViewDelegate::Close() { | 68 void AppListViewDelegate::Close() { |
| 69 controller_->CloseView(); | 69 controller_->CloseView(); |
| 70 } | 70 } |
| 71 |
| 72 gfx::ImageSkia AppListViewDelegate::GetWindowAppIcon() { |
| 73 return controller_->GetWindowAppIcon(); |
| 74 } |
| OLD | NEW |