| 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/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 Loading... |
| 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_ |
| OLD | NEW |