OLD | NEW |
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/file_path.h" | 8 #include "base/file_path.h" |
9 | 9 |
10 class PrefRegistrySimple; | 10 class PrefRegistrySimple; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. | 46 // Notify the app list that an extension has started downloading. |
47 void NotifyAppListOfBeginExtensionInstall( | 47 void NotifyAppListOfBeginExtensionInstall( |
48 Profile* profile, | 48 Profile* profile, |
49 const std::string& extension_id, | 49 const std::string& extension_id, |
50 const std::string& extension_name, | 50 const std::string& extension_name, |
51 const gfx::ImageSkia& installing_icon); | 51 const gfx::ImageSkia& installing_icon); |
52 | 52 |
| 53 void NotifyAppListOfDownloadProgress( |
| 54 Profile* profile, |
| 55 const std::string& extension_id, |
| 56 int percent_downloaded); |
| 57 |
53 } // namespace chrome | 58 } // namespace chrome |
54 | 59 |
55 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_ | 60 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_ |
OLD | NEW |