| Index: ui/aura_shell/shell_delegate.h
|
| diff --git a/ui/aura_shell/shell_delegate.h b/ui/aura_shell/shell_delegate.h
|
| index 60b04ec80d693afdc9588f0eed0cda3ed40f43d4..1fdb7358c3acbe3b9229a3b79a0c154785e3e2ee 100644
|
| --- a/ui/aura_shell/shell_delegate.h
|
| +++ b/ui/aura_shell/shell_delegate.h
|
| @@ -10,6 +10,8 @@
|
|
|
| namespace aura_shell {
|
|
|
| +struct LauncherItem;
|
| +
|
| // Delegate of the Shell.
|
| class AURA_SHELL_EXPORT ShellDelegate {
|
| public:
|
| @@ -22,6 +24,14 @@ class AURA_SHELL_EXPORT ShellDelegate {
|
|
|
| // Invoked when the user clicks the app list button on the launcher.
|
| virtual void ShowApps() = 0;
|
| +
|
| + // Invoked when the user clicks on a window entry in the launcher.
|
| + virtual void LauncherItemClicked(const LauncherItem& item) = 0;
|
| +
|
| + // Invoked when a window is added. If the delegate wants the launcher to show
|
| + // an entry for |item->window| it should configure |item| appropriately and
|
| + // return true.
|
| + virtual bool ConfigureLauncherItem(LauncherItem* item) = 0;
|
| };
|
|
|
| } // namespace aura_shell
|
|
|