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_controller.h" | 5 #include "chrome/browser/ui/app_list/app_list_controller.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
| 9 AppListControllerDelegate::~AppListControllerDelegate() {} |
| 10 |
| 11 void AppListControllerDelegate::ViewClosing() {} |
| 12 |
| 13 void AppListControllerDelegate::ViewActivationChanged(bool active) {} |
| 14 |
| 15 bool AppListControllerDelegate::IsAppPinned(const std::string& extension_id) { |
| 16 return false; |
| 17 } |
| 18 |
| 19 void AppListControllerDelegate::PinApp(const std::string& extension_id) {} |
| 20 |
| 21 void AppListControllerDelegate::UnpinApp(const std::string& extension_id) {} |
| 22 |
| 23 void AppListControllerDelegate::ShowCreateShortcutsDialog( |
| 24 Profile* profile, |
| 25 const std::string& extension_id) {} |
| 26 |
9 namespace app_list_controller { | 27 namespace app_list_controller { |
10 | 28 |
11 #if !defined(OS_WIN) | 29 #if !defined(OS_WIN) |
12 // Default implementation for ports which do not have this implemented. | 30 // Default implementation for ports which do not have this implemented. |
13 void ShowAppList() {} | 31 void ShowAppList() {} |
14 #endif | 32 #endif |
15 | 33 |
16 } // namespace app_list_controller | 34 } // namespace app_list_controller |
OLD | NEW |