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

Side by Side Diff: ash/launcher/launcher_model_util.h

Issue 27369004: Change GetBrowserItemIndex() to GetLauncherItemIndexForType() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix clang error 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 unified diff | Download patch
« no previous file with comments | « ash/ash.gyp ('k') | ash/launcher/launcher_model_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_LAUNCHER_LAUNCHER_MODEL_UTIL_H_
6 #define ASH_LAUNCHER_LAUNCHER_MODEL_UTIL_H_
7
8 #include "ash/ash_export.h"
9 #include "ash/launcher/launcher_types.h"
10
11 namespace ash {
12
13 class LauncherModel;
14
15 // Return the index of the |type| from a given |launcher_model|.
16 // Note:
17 // * If there are many items for |type| in the |launcher_model|, an index of
18 // first item will be returned.
19 // * If there is no item for |type|, -1 will be returned.
20 ASH_EXPORT int GetLauncherItemIndexForType(LauncherItemType type,
21 const LauncherModel& launcher_model);
22
23 } // namespace ash
24
25 #endif // ASH_LAUNCHER_LAUNCHER_MODEL_UTIL_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/launcher/launcher_model_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698