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

Unified Diff: ash/shelf/shelf_util.h

Issue 507003002: Set the shelf icon title explicitly for settings and task manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | ash/shelf/shelf_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_util.h
diff --git a/ash/shelf/shelf_util.h b/ash/shelf/shelf_util.h
index b700820756b7bf428a9e806e6a8ae7a08ddd9fd2..799e59f082c3dcdd9919d201b7e4820b8500118a 100644
--- a/ash/shelf/shelf_util.h
+++ b/ash/shelf/shelf_util.h
@@ -7,6 +7,7 @@
#include "ash/ash_export.h"
#include "ash/shelf/shelf_item_types.h"
+#include "base/strings/string16.h"
#include "ui/aura/window.h"
namespace aura {
@@ -37,10 +38,11 @@ ASH_EXPORT ShelfID GetShelfIDForWindow(const aura::Window* window);
ASH_EXPORT void SetShelfItemDetailsForWindow(aura::Window* window,
const ShelfItemDetails& details);
-// Creates a new ShelfItemDetails instance with type DIALOG and image id
-// |image_resource_id| and sets it for |window|.
+// Creates a new ShelfItemDetails instance with type DIALOG, image id
+// |image_resource_id|, and title |title|, and sets it for |window|.
ASH_EXPORT void SetShelfItemDetailsForDialogWindow(aura::Window* window,
- int image_resource_id);
+ int image_resource_id,
+ const base::string16& title);
// Clears ShelfItemDetails for |window|.
// If |window| has a ShelfItem by SetShelfItemDetailsForWindow(), it will
« no previous file with comments | « no previous file | ash/shelf/shelf_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698