Update V8 to version 4.7.47.
[chromium-blink-merge.git] / ash / shelf / shelf_navigator.h
blobf7ced22564ca7fa4f28f8b66e8112cd06195ff47
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.
5 #ifndef ASH_SHELF_SHELF_NAVIGATOR_H_
6 #define ASH_SHELF_SHELF_NAVIGATOR_H_
8 #include "ash/ash_export.h"
9 #include "ash/shelf/shelf_constants.h"
11 namespace ash {
13 class ShelfModel;
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.
18 ASH_EXPORT int GetNextActivatedItemIndex(const ShelfModel& model,
19 CycleDirection direction);
21 } // namespace ash
23 #endif // ASH_SHELF_SHELF_NAVIGATOR_H_