Chromium Code Reviews| Index: ash/shelf/shelf_util.h |
| diff --git a/ash/shelf/shelf_util.h b/ash/shelf/shelf_util.h |
| index f93f42e9e21df0e11eb62401f40308ecf7b12b5c..548ce2381fd171655470a0316a2cc54663202454 100644 |
| --- a/ash/shelf/shelf_util.h |
| +++ b/ash/shelf/shelf_util.h |
| @@ -32,10 +32,16 @@ ASH_EXPORT void SetShelfIDForWindow(ShelfID id, aura::Window* window); |
| // currently active tab. |
| ASH_EXPORT ShelfID GetShelfIDForWindow(const aura::Window* window); |
| -// Sets ShelfItemDetails for |window|. |
| +// Constructs a new ShelfItemDetails instance from |details| and sets it for |
|
Mr4D (OOO till 08-26)
2014/06/17 16:01:10
Maybe "Create a new .." ? "Construct" sounds funny
stevenjb
2014/06/18 19:54:47
Done.
|
| +// |window|. |
| ASH_EXPORT void SetShelfItemDetailsForWindow(aura::Window* window, |
| const ShelfItemDetails& details); |
| +// Constructs a new ShelfItemDetails instance with type DIALOG and image id |
| +// |image_resource_id| and sets it for |window|. |
| +ASH_EXPORT void SetShelfItemDetailsForDialogWindow(aura::Window* window, |
| + int image_resource_id); |
| + |
| // Clears ShelfItemDetails for |window|. |
| // If |window| has a ShelfItem by SetShelfItemDetailsForWindow(), it will |
| // be removed. |