Index: ash/shelf/shelf_util.h |
diff --git a/ash/shelf/shelf_util.h b/ash/shelf/shelf_util.h |
index daf6c0f0e78eb209306f844b49464c892706e36d..b26453b92bfd1980156bb2cf1462e64750500c05 100644 |
--- a/ash/shelf/shelf_util.h |
+++ b/ash/shelf/shelf_util.h |
@@ -6,13 +6,16 @@ |
#define ASH_SHELF_SHELF_UTIL_H_ |
#include "ash/ash_export.h" |
+#include "ash/launcher/launcher_types.h" |
namespace ash { |
class LauncherModel; |
-// Return the index of the browser item from a given |launcher_model|. |
-ASH_EXPORT int GetBrowserItemIndex(const LauncherModel& launcher_model); |
+// Return the index of the |type| from a given |launcher_model|. |
+// |type| should be either TYPE_BROWSER_SHORTCUT or TYPE_APP_LIST. |
+ASH_EXPORT int GetLauncherItemIndexForType(LauncherItemType type, |
+ const LauncherModel& launcher_model); |
} // namespace ash |