| Index: ui/aura_shell/examples/aura_shell_main.cc
|
| diff --git a/ui/aura_shell/examples/aura_shell_main.cc b/ui/aura_shell/examples/aura_shell_main.cc
|
| index 0c06b79f8668b38022a012175bb21ea1950e10fc..1c4c0f117c6d4172d66fca7d7b61eafcf9f51810 100644
|
| --- a/ui/aura_shell/examples/aura_shell_main.cc
|
| +++ b/ui/aura_shell/examples/aura_shell_main.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/message_loop.h"
|
| #include "ui/aura/desktop.h"
|
| #include "ui/aura_shell/examples/toplevel_window.h"
|
| +#include "ui/aura_shell/launcher/launcher_model.h"
|
| #include "ui/aura_shell/shell.h"
|
| #include "ui/aura_shell/shell_delegate.h"
|
| #include "ui/aura_shell/shell_factory.h"
|
| @@ -32,6 +33,15 @@ class ShellDelegateImpl : public aura_shell::ShellDelegate {
|
| virtual void ShowApps() OVERRIDE {
|
| NOTIMPLEMENTED();
|
| }
|
| +
|
| + virtual void LauncherItemClicked(
|
| + const aura_shell::LauncherItem& item) OVERRIDE {
|
| + item.window->Activate();
|
| + }
|
| +
|
| + virtual bool ConfigureLauncherItem(aura_shell::LauncherItem* item) OVERRIDE {
|
| + return true; // Makes the entry show up in the launcher.
|
| + }
|
| };
|
|
|
| } // namesapce
|
|
|