Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: chrome/browser/ui/ash/launcher/launcher_item_util.h

Issue 132543003: Add LauncherItem for TaskManager Dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shelf/shelf_view.cc ('k') | chrome/browser/ui/ash/launcher/launcher_item_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ash/shelf/shelf_view.cc ('k') | chrome/browser/ui/ash/launcher/launcher_item_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698