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

Unified Diff: ash/shelf/shelf.h

Issue 2894743002: Make launching apps from shelf more intuitive (Closed)
Patch Set: Affected by new revision, gclient sync and re-upload. Created 3 years, 7 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.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf.h
diff --git a/ash/shelf/shelf.h b/ash/shelf/shelf.h
index 9467a37253d3e58d5f96a129dbeb9f17fc686e29..e9bfc15e76902c4f8e68f24e81e76fcdedda7c6d 100644
--- a/ash/shelf/shelf.h
+++ b/ash/shelf/shelf.h
@@ -118,6 +118,10 @@ class ASH_EXPORT Shelf : public ShelfLayoutManagerObserver {
// Activates the shelf item specified by the index in the list of shelf items.
static void ActivateShelfItem(int item_index);
+ // Activates the shelf item specified by the index in the list of shelf items
+ // on the display identified by |display_id|.
+ static void ActivateShelfItemOnDisplay(int item_index, int64_t display_id);
+
// Handles a gesture |event| coming from a source outside the shelf widget
// (e.g. the status area widget). Allows support for behaviors like toggling
// auto-hide with a swipe, even if that gesture event hits another window.
« no previous file with comments | « no previous file | ash/shelf/shelf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698