Index: chrome/browser/ui/ash/launcher/launcher_item_util.h |
diff --git a/chrome/browser/ui/ash/launcher/launcher_item_util.h b/chrome/browser/ui/ash/launcher/launcher_item_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cd7498c32678c5054001822d8bf4950d86f7836f |
--- /dev/null |
+++ b/chrome/browser/ui/ash/launcher/launcher_item_util.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_ITEM_UTIL_H_ |
+#define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_ITEM_UTIL_H_ |
+ |
+#include "base/strings/string16.h" |
+ |
+namespace aura { |
+class Window; |
+} |
+ |
+// Creates an item on the shelf for |window|. The item is destroyed when the |
+// window is destroyed. |
+// TODO(simonhong): Move this function to NativeWidgetAura. |
+void CreateShelfItemForDialog(int image_resource_id, |
+ aura::Window* window); |
+ |
+#endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_ITEM_UTIL_H_ |