Safebrowsing aura linux_redux compile fixes.
[chromium-blink-merge.git] / ash / shelf / shelf_util.h
blob30953a76cedae79fc6613c1fb62011e153f05c5f
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_UTIL_H_
6 #define ASH_SHELF_SHELF_UTIL_H_
8 #include "ash/ash_export.h"
9 #include "ash/launcher/launcher_types.h"
11 namespace aura {
12 class Window;
15 namespace ash {
17 // Associates LauncherItem of |id| with specified |window|.
18 ASH_EXPORT void SetLauncherIDForWindow(LauncherID id, aura::Window* window);
20 // Returns the id of the LauncherItem associated with the specified |window|,
21 // or 0 if there isn't one.
22 // Note: Window of a tabbed browser will return the |LauncherID| of the
23 // currently active tab.
24 ASH_EXPORT LauncherID GetLauncherIDForWindow(aura::Window* window);
26 } // namespace ash
28 #endif // ASH_SHELF_SHELF_UTIL_H_