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