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