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

Unified Diff: ash/shelf/shelf_util.h

Issue 27369004: Change GetBrowserItemIndex() to GetLauncherItemIndexForType() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/shelf/shelf_util.cc » ('j') | ash/shelf/shelf_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | ash/shelf/shelf_util.cc » ('j') | ash/shelf/shelf_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698