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_SHELF_SHELF_NAVIGATOR_H_
6#define ASH_SHELF_SHELF_NAVIGATOR_H_
7
8#include "ash/ash_export.h"
9#include "ash/shelf/shelf_constants.h"
10
11namespace ash {
12
13class ShelfModel;
14
15// Scans the current shelf item and returns the index of the shelf item which
16// should be activated next for the specified |direction|. Returns -1 if fails
17// to find such item.
18ASH_EXPORT int GetNextActivatedItemIndex(const ShelfModel& model,
19                                         CycleDirection direction);
20
21}  // namespace ash
22
23#endif  // ASH_SHELF_SHELF_NAVIGATOR_H_
24