Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: chrome/browser/ui/app_list/app_list_controller_delegate.cc

Issue 11834002: app_list: Split app_list_controller.* into two smaller parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_controller_delegate.h ('k') | chrome/browser/ui/app_list/app_list_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698