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

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

Issue 14514003: Make OSX App Launcher Launchable from the Dock. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase off cl14603002 Created 7 years, 7 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_service.h" 5 #include "chrome/browser/ui/app_list/app_list_service.h"
6 6
7 #include "base/prefs/pref_registry_simple.h" 7 #include "base/prefs/pref_registry_simple.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/extensions/extension_prefs.h" 10 #include "chrome/browser/extensions/extension_prefs.h"
(...skipping 29 matching lines...) Expand all
40 local_state->HasPrefPath(prefs::kProfileLastUsed)) 40 local_state->HasPrefPath(prefs::kProfileLastUsed))
41 app_list_profile = local_state->GetString(prefs::kProfileLastUsed); 41 app_list_profile = local_state->GetString(prefs::kProfileLastUsed);
42 42
43 std::string profile_path = app_list_profile.empty() ? 43 std::string profile_path = app_list_profile.empty() ?
44 chrome::kInitialProfile : 44 chrome::kInitialProfile :
45 app_list_profile; 45 app_list_profile;
46 46
47 return user_data_dir.AppendASCII(profile_path); 47 return user_data_dir.AppendASCII(profile_path);
48 } 48 }
49 49
50 void AppListService::ShowForSavedProfile() {}
51
50 void AppListService::ShowAppList(Profile* profile) {} 52 void AppListService::ShowAppList(Profile* profile) {}
51 53
52 void AppListService::DismissAppList() {} 54 void AppListService::DismissAppList() {}
53 55
54 void AppListService::SetAppListProfile( 56 void AppListService::SetAppListProfile(
55 const base::FilePath& profile_file_path) {} 57 const base::FilePath& profile_file_path) {}
56 58
57 Profile* AppListService::GetCurrentAppListProfile() { return NULL; } 59 Profile* AppListService::GetCurrentAppListProfile() { return NULL; }
58 60
59 bool AppListService::IsAppListVisible() const { return false; } 61 bool AppListService::IsAppListVisible() const { return false; }
60 62
61 void AppListService::EnableAppList() {} 63 void AppListService::EnableAppList() {}
62 64
63 AppListControllerDelegate* AppListService::CreateControllerDelegate() { 65 AppListControllerDelegate* AppListService::CreateControllerDelegate() {
64 return NULL; 66 return NULL;
65 } 67 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service.h ('k') | chrome/browser/ui/app_list/app_list_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698