diff options
Diffstat (limited to 'chromium/ash/launcher/launcher_navigator.h')
-rw-r--r-- | chromium/ash/launcher/launcher_navigator.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/chromium/ash/launcher/launcher_navigator.h b/chromium/ash/launcher/launcher_navigator.h new file mode 100644 index 00000000000..f3b338f20ed --- /dev/null +++ b/chromium/ash/launcher/launcher_navigator.h @@ -0,0 +1,24 @@ +// Copyright (c) 2012 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_LAUNCHER_LAUNCHER_NAVIGATOR_H_ +#define ASH_LAUNCHER_LAUNCHER_NAVIGATOR_H_ + +#include "ash/ash_export.h" +#include "ash/launcher/launcher_types.h" +#include "base/basictypes.h" + +namespace ash { + +class LauncherModel; + +// Scans the current launcher item and returns the index of the launcher item +// which should be activated next for the specified |direction|. Returns -1 +// if fails to find such item. +ASH_EXPORT int GetNextActivatedItemIndex(const LauncherModel& model, + CycleDirection direction); + +} // namespace ash + +#endif // ASH_LAUNCHER_LAUNCHER_NAVIGATOR_H_ |