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

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

Issue 12298015: Change NotifyAppList*() functions into observers on a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac Created 7 years, 9 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 9
10 class PrefRegistrySimple; 10 class PrefRegistrySimple;
(...skipping 25 matching lines...) Expand all
36 36
37 // Dismiss the app list. 37 // Dismiss the app list.
38 void DismissAppList(); 38 void DismissAppList();
39 39
40 // Get the profile the app list is currently showing. 40 // Get the profile the app list is currently showing.
41 Profile* GetCurrentAppListProfile(); 41 Profile* GetCurrentAppListProfile();
42 42
43 // Returns true if the app list is visible. 43 // Returns true if the app list is visible.
44 bool IsAppListVisible(); 44 bool IsAppListVisible();
45 45
46 // Notify the app list that an extension has started downloading.
47 void NotifyAppListOfBeginExtensionInstall(
48 Profile* profile,
49 const std::string& extension_id,
50 const std::string& extension_name,
51 const gfx::ImageSkia& installing_icon);
52
53 void NotifyAppListOfDownloadProgress(
54 Profile* profile,
55 const std::string& extension_id,
56 int percent_downloaded);
57
58 void NotifyAppListOfExtensionInstallFailure(
59 Profile* profile,
60 const std::string& extension_id);
61
62 } // namespace chrome 46 } // namespace chrome
63 47
64 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_ 48 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | chrome/browser/ui/app_list/app_list_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698