diff options
author | calamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-15 16:03:06 +0000 |
---|---|---|
committer | calamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-15 16:04:31 +0000 |
commit | 1b46780d517aa4c4f78b49e95c5d7716fe77228a (patch) | |
tree | 19c63aeac166841c8e4418ade2f5d393d057655a /ash/shell.h | |
parent | ae56a69f25ab4d7dcbfb09f4b03bc1990eada65b (diff) | |
download | chromium_src-1b46780d517aa4c4f78b49e95c5d7716fe77228a.zip chromium_src-1b46780d517aa4c4f78b49e95c5d7716fe77228a.tar.gz chromium_src-1b46780d517aa4c4f78b49e95c5d7716fe77228a.tar.bz2 |
Split Shell::ToggleAppList() into ShowAppList and DismissAppList.
This CL is in preparation for passing a reason for showing the app list.
This split is necessary to pass a reason only when showing and not when
dismissing.
BUG=None
Review URL: https://codereview.chromium.org/460933002
Cr-Commit-Position: refs/heads/master@{#289889}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289889 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.h')
-rw-r--r-- | ash/shell.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ash/shell.h b/ash/shell.h index 14e1f91..7d5ab3b 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); + + // 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. |