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

Unified Diff: ash/shelf/shelf_model_util.h

Issue 68523017: ash: Add GetItemIndexForType() function to ShelfModel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 | « ash/shelf/shelf_model.cc ('k') | ash/shelf/shelf_model_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_model_util.h
diff --git a/ash/shelf/shelf_model_util.h b/ash/shelf/shelf_model_util.h
deleted file mode 100644
index 4aa94d9da2919b9d0692ed4a98ffc6a80501d3e1..0000000000000000000000000000000000000000
--- a/ash/shelf/shelf_model_util.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_SHELF_SHELF_MODEL_UTIL_H_
-#define ASH_SHELF_SHELF_MODEL_UTIL_H_
-
-#include "ash/ash_export.h"
-#include "ash/launcher/launcher_types.h"
-
-namespace ash {
-
-class ShelfModel;
-
-// Return the index of the |type| from a given |shelf_model|.
-// Note:
-// * If there are many items for |type| in the |shelf_model|, an index of
-// first item will be returned.
-// * If there is no item for |type|, -1 will be returned.
-ASH_EXPORT int GetShelfItemIndexForType(LauncherItemType type,
- const ShelfModel& shelf_model);
-
-} // namespace ash
-
-#endif // ASH_SHELF_SHELF_MODEL_UTIL_H_
« no previous file with comments | « ash/shelf/shelf_model.cc ('k') | ash/shelf/shelf_model_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698