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

Side by Side Diff: chrome/browser/ui/app_list/app_list_service_impl.h

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 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // profile loads and start or end browser keep alive accordingly. 72 // profile loads and start or end browser keep alive accordingly.
73 void IncrementPendingProfileLoads(); 73 void IncrementPendingProfileLoads();
74 void DecrementPendingProfileLoads(); 74 void DecrementPendingProfileLoads();
75 75
76 // AppListService overrides: 76 // AppListService overrides:
77 // Update the profile path stored in local prefs, load it (if not already 77 // Update the profile path stored in local prefs, load it (if not already
78 // loaded), and show the app list. 78 // loaded), and show the app list.
79 virtual void SetAppListProfile( 79 virtual void SetAppListProfile(
80 const base::FilePath& profile_file_path) OVERRIDE; 80 const base::FilePath& profile_file_path) OVERRIDE;
81 81
82 virtual void ShowForSavedProfile() OVERRIDE;
82 virtual Profile* GetCurrentAppListProfile() OVERRIDE; 83 virtual Profile* GetCurrentAppListProfile() OVERRIDE;
83 84
84 // ProfileInfoCacheObserver overrides: 85 // ProfileInfoCacheObserver overrides:
85 virtual void OnProfileAdded(const base::FilePath& profilePath) OVERRIDE; 86 virtual void OnProfileAdded(const base::FilePath& profilePath) OVERRIDE;
86 virtual void OnProfileWillBeRemoved( 87 virtual void OnProfileWillBeRemoved(
87 const base::FilePath& profile_path) OVERRIDE; 88 const base::FilePath& profile_path) OVERRIDE;
88 virtual void OnProfileWasRemoved(const base::FilePath& profile_path, 89 virtual void OnProfileWasRemoved(const base::FilePath& profile_path,
89 const string16& profile_name) OVERRIDE; 90 const string16& profile_name) OVERRIDE;
90 virtual void OnProfileNameChanged(const base::FilePath& profile_path, 91 virtual void OnProfileNameChanged(const base::FilePath& profile_path,
91 const string16& profile_name) OVERRIDE; 92 const string16& profile_name) OVERRIDE;
(...skipping 17 matching lines...) Expand all
109 // How many profile loads are pending. 110 // How many profile loads are pending.
110 int pending_profile_loads_; 111 int pending_profile_loads_;
111 112
112 base::WeakPtrFactory<AppListServiceImpl> weak_factory_; 113 base::WeakPtrFactory<AppListServiceImpl> weak_factory_;
113 content::NotificationRegistrar registrar_; 114 content::NotificationRegistrar registrar_;
114 115
115 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); 116 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl);
116 }; 117 };
117 118
118 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ 119 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service.cc ('k') | chrome/browser/ui/app_list/app_list_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698