X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fash%2Fshelf%2Fshelf_util.h;h=f4c4b80e5d8f62e1b5b7c9ce16e716b3cbd20a96;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=ce83dcccfaa322f86bd7c8c744cd765689b658ce;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ash/shelf/shelf_util.h b/src/ash/shelf/shelf_util.h index ce83dcc..f4c4b80 100644 --- a/src/ash/shelf/shelf_util.h +++ b/src/ash/shelf/shelf_util.h @@ -6,7 +6,6 @@ #define ASH_SHELF_SHELF_UTIL_H_ #include "ash/ash_export.h" -#include "ash/launcher/launcher_types.h" #include "ash/shelf/shelf_item_types.h" #include "ui/aura/window.h" @@ -19,21 +18,21 @@ namespace ash { extern const aura::WindowProperty* const kShelfItemDetailsKey; -// Associates LauncherItem of |id| with specified |window|. -ASH_EXPORT void SetLauncherIDForWindow(LauncherID id, aura::Window* window); +// Associates ShelfItem of |id| with specified |window|. +ASH_EXPORT void SetShelfIDForWindow(ShelfID id, aura::Window* window); -// Returns the id of the LauncherItem associated with the specified |window|, +// Returns the id of the ShelfItem associated with the specified |window|, // or 0 if there isn't one. -// Note: Window of a tabbed browser will return the |LauncherID| of the +// Note: Window of a tabbed browser will return the |ShelfID| of the // currently active tab. -ASH_EXPORT LauncherID GetLauncherIDForWindow(aura::Window* window); +ASH_EXPORT ShelfID GetShelfIDForWindow(aura::Window* window); // Sets ShelfItemDetails for |window|. ASH_EXPORT void SetShelfItemDetailsForWindow(aura::Window* window, const ShelfItemDetails& details); // Clears ShelfItemDetails for |window|. -// If |window| has a LauncherItem by SetShelfItemDetailsForWindow(), it will +// If |window| has a ShelfItem by SetShelfItemDetailsForWindow(), it will // be removed. ASH_EXPORT void ClearShelfItemDetailsForWindow(aura::Window* window);