NaCl: Update revision in DEPS, r12770 -> r12773
[chromium-blink-merge.git] / chrome / browser / ui / ash / launcher / launcher_item_util.cc
blob487330e2f7f61e007728ff542e0227952e0a2c80
1 // Copyright 2014 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 #include "ash/shelf/shelf_item_types.h"
6 #include "ash/shelf/shelf_util.h"
8 void CreateShelfItemForDialog(int image_resource_id, aura::Window* window) {
9 ash::ShelfItemDetails item_details;
10 item_details.type = ash::TYPE_DIALOG;
11 item_details.image_resource_id = image_resource_id;
12 item_details.title = window->title();
13 ash::SetShelfItemDetailsForWindow(window, item_details);