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

Unified Diff: ash/shell.h

Issue 460933002: Split Shell::ToggleAppList() into ShowAppList and DismissAppList. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments 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 | « ash/shelf/shelf_view_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 14e1f9144cdffef725d80b85ce2509ac741efe46..7d5ab3b680ae1f725e3e66a424752d5bc5b55a7f 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -231,9 +231,15 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
void ShowContextMenu(const gfx::Point& location_in_screen,
ui::MenuSourceType source_type);
- // Toggles the app list. |window| specifies in which display the app
+ // Shows the app list. |window| specifies in which display the app
// list should be shown. If this is NULL, the active root window
// will be used.
+ void ShowAppList(aura::Window* anchor);
James Cook 2014/08/14 20:49:36 Another option would be to provide "SetAppListVisi
Matt Giuca 2014/08/15 01:00:21 I have a slight preference to keep things the way
+
+ // Dismisses the app list.
+ void DismissAppList();
+
+ // Shows the app list if it's not visible. Dismisses it otherwise.
void ToggleAppList(aura::Window* anchor);
// Returns app list target visibility.
« no previous file with comments | « ash/shelf/shelf_view_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698