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"
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
);
28 #endif // ASH_SHELF_SHELF_UTIL_H_