diff options
Diffstat (limited to 'ash/mus/shell_delegate_mus.cc')
-rw-r--r-- | ash/mus/shell_delegate_mus.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ash/mus/shell_delegate_mus.cc b/ash/mus/shell_delegate_mus.cc index 7f627e1..3ce7579 100644 --- a/ash/mus/shell_delegate_mus.cc +++ b/ash/mus/shell_delegate_mus.cc @@ -8,6 +8,7 @@ #include "ash/default_user_wallpaper_delegate.h" #include "ash/gpu_support_stub.h" #include "ash/media_delegate.h" +#include "ash/mus/context_menu_mus.h" #include "ash/mus/shelf_delegate_mus.h" #include "ash/session/session_state_delegate.h" #include "ash/system/tray/default_system_tray_delegate.h" @@ -95,6 +96,7 @@ class MediaDelegateStub : public MediaDelegate { } // namespace ShellDelegateMus::ShellDelegateMus() {} + ShellDelegateMus::~ShellDelegateMus() {} bool ShellDelegateMus::IsFirstRunAfterBoot() const { @@ -199,8 +201,7 @@ MediaDelegate* ShellDelegateMus::CreateMediaDelegate() { ui::MenuModel* ShellDelegateMus::CreateContextMenu(ash::Shelf* shelf, const ShelfItem* item) { - NOTIMPLEMENTED(); - return nullptr; + return new ContextMenuMus(shelf); } GPUSupport* ShellDelegateMus::CreateGPUSupport() { |